mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2025-01-19 11:54:02 -05:00
greenclip: new config v4.0; delete stuff
This commit is contained in:
parent
f4772bb48a
commit
213e3b79c4
@ -19,6 +19,7 @@ case ${shell} in
|
|||||||
bash)
|
bash)
|
||||||
cp -rfv ./home/.bashrc-bloated ~/.bashrc
|
cp -rfv ./home/.bashrc-bloated ~/.bashrc
|
||||||
cp -rfv ./home/.bash_profile ~/.bash_profile
|
cp -rfv ./home/.bash_profile ~/.bash_profile
|
||||||
|
cp -rfv ./home/.local/share/bash/ ~/.local/share/bash/
|
||||||
;;
|
;;
|
||||||
zsh)
|
zsh)
|
||||||
cp -rfv ./home/.bashrc ~/.bashrc
|
cp -rfv ./home/.bashrc ~/.bashrc
|
||||||
@ -70,7 +71,7 @@ case ${server} in
|
|||||||
cp -rfv ./home/.config/spectrwm/ ~/.config/spectrwm/
|
cp -rfv ./home/.config/spectrwm/ ~/.config/spectrwm/
|
||||||
cp -rfv ./home/.config/sxhkd/ ~/.config/sxhkd/
|
cp -rfv ./home/.config/sxhkd/ ~/.config/sxhkd/
|
||||||
cp -rfv ./home/.config/X11/ ~/.config/X11/
|
cp -rfv ./home/.config/X11/ ~/.config/X11/
|
||||||
cp -rfv ./home/.config/greenclip.cfg ~/.config/greenclip.cfg
|
cp -rfv ./home/.config/greenclip.toml ~/.config/greenclip.toml
|
||||||
cp -rfv ./home/.config/picom.conf ~/.config/picom.conf
|
cp -rfv ./home/.config/picom.conf ~/.config/picom.conf
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# a minimal approach when bash is not a default shell
|
# a minimal approach when bash is not a default shell
|
||||||
|
|
||||||
export BASH_COMPLETION_USER_DIR="$HOME/.local/share/bash"
|
export BASH_COMPLETION_USER_DIR="$HOME/.local/share/bash"
|
||||||
export HISTFILE="$HOME/.local/share/bash/bash_history"
|
export HISTFILE="$BASH_COMPLETION_USER_DIR/bash_history"
|
||||||
|
|
||||||
# ________ _______________
|
# ________ _______________
|
||||||
# __ ___/______ /__ /___(_)_____________ ________
|
# __ ___/______ /__ /___(_)_____________ ________
|
||||||
|
@ -12,8 +12,8 @@ export XDG_CACHE_HOME=$HOME/.cache
|
|||||||
export XDG_DATA_HOME=$HOME/.local/share
|
export XDG_DATA_HOME=$HOME/.local/share
|
||||||
export XDG_DATA_DIRS=$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
|
export XDG_DATA_DIRS=$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
|
||||||
# alternate paths
|
# alternate paths
|
||||||
export HISTFILE="$XDG_DATA_HOME/bash/bash_history"
|
|
||||||
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME/bash"
|
export BASH_COMPLETION_USER_DIR="$XDG_DATA_HOME/bash"
|
||||||
|
export HISTFILE="$BASH_COMPLETION_USER_DIR/bash_history"
|
||||||
export LESSHISTFILE=-
|
export LESSHISTFILE=-
|
||||||
export MOST_INITFILE=$XDG_CONFIG_HOME/mostrc
|
export MOST_INITFILE=$XDG_CONFIG_HOME/mostrc
|
||||||
export GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc
|
export GTK2_RC_FILES=$XDG_CONFIG_HOME/gtk-2.0/gtkrc
|
||||||
@ -87,8 +87,6 @@ export _ZO_RESOLVE_SYMLINKS=1
|
|||||||
# export _ZL_INT_SORT=1
|
# export _ZL_INT_SORT=1
|
||||||
# export _ZL_ROOT_MARKERS=".git,.svn,.hg,.root,package.json,.projectile,.pro"
|
# export _ZL_ROOT_MARKERS=".git,.svn,.hg,.root,package.json,.projectile,.pro"
|
||||||
# export RANGER_ZLUA="$HOME/.local/share/bash/z.lua"
|
# export RANGER_ZLUA="$HOME/.local/share/bash/z.lua"
|
||||||
# Basher
|
|
||||||
export BASHER_ROOT="$HOME/.local/share/bash/basher"
|
|
||||||
# nodenv
|
# nodenv
|
||||||
export NODENV_ROOT="$HOME/.local/share/nodenv"
|
export NODENV_ROOT="$HOME/.local/share/nodenv"
|
||||||
# pyenv
|
# pyenv
|
||||||
@ -366,7 +364,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# PATH
|
# PATH
|
||||||
export PATH=$HOME/.local/bin:$HOME/.local/bin/fzf:$HOME/.local/share/bash/basher/bin:$NODENV_ROOT/bin:$PYENV_ROOT/bin:$POETRY_HOME/bin:$CARGO_HOME/bin:$GOPATH/bin:$NPM_CONFIG_PREFIX/bin:$PATH
|
export PATH=$HOME/.local/bin:$HOME/.local/bin/fzf:$NODENV_ROOT/bin:$PYENV_ROOT/bin:$POETRY_HOME/bin:$CARGO_HOME/bin:$GOPATH/bin:$NPM_CONFIG_PREFIX/bin:$PATH
|
||||||
|
|
||||||
# _________________
|
# _________________
|
||||||
# ___ |__ /__(_)_____ ________
|
# ___ |__ /__(_)_____ ________
|
||||||
@ -384,7 +382,6 @@ alias mv="mv -vi"
|
|||||||
alias rm="rm -vr"
|
alias rm="rm -vr"
|
||||||
alias mkdir="mkdir -pv"
|
alias mkdir="mkdir -pv"
|
||||||
alias no="grep -viP"
|
alias no="grep -viP"
|
||||||
# alias latest_pkg="expac --timefmt='%Y-%m-%d %T' '%l\t%n' | sort | tail -n 30"
|
|
||||||
alias yarn="yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config"
|
alias yarn="yarn --use-yarnrc $XDG_CONFIG_HOME/yarn/config"
|
||||||
alias tmux="TERM=screen-256color tmux"
|
alias tmux="TERM=screen-256color tmux"
|
||||||
alias startx="startx $HOME/.config/X11/xinitrc"
|
alias startx="startx $HOME/.config/X11/xinitrc"
|
||||||
@ -503,24 +500,6 @@ extract() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# update Basher
|
|
||||||
basher_update() {
|
|
||||||
pushd $HOME/.local/share/bash/basher >/dev/null || exit
|
|
||||||
git pull
|
|
||||||
echo -e "\e[01;34mFinished updating Basher\e[0m"
|
|
||||||
popd >/dev/null || exit
|
|
||||||
}
|
|
||||||
|
|
||||||
# upgrade Basher's packages
|
|
||||||
basherpacks_update() {
|
|
||||||
packages=$(basher list)
|
|
||||||
for pack in $packages
|
|
||||||
do
|
|
||||||
echo -e "\e[01;34mUpgrading $pack\e[0m"
|
|
||||||
basher upgrade "$pack" >/dev/null 2>&1
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# nnn with cd on quit
|
# nnn with cd on quit
|
||||||
if command -v nnn >/dev/null; then
|
if command -v nnn >/dev/null; then
|
||||||
alias ncp="cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | tr '\0' '\n'"
|
alias ncp="cat ${NNN_SEL:-${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.selection} | tr '\0' '\n'"
|
||||||
@ -568,27 +547,6 @@ tt() {
|
|||||||
command tt /tmp/tt.txt
|
command tt /tmp/tt.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
# ________ ______
|
|
||||||
# ___ __ )_____ __________ /______________
|
|
||||||
# __ __ | __ `/_ ___/_ __ \ _ \_ ___/
|
|
||||||
# _ /_/ // /_/ /_(__ )_ / / / __/ /
|
|
||||||
# /_____/ \__,_/ /____/ /_/ /_/\___//_/
|
|
||||||
#
|
|
||||||
# Install Basher if missing
|
|
||||||
if [[ ! -d $HOME/.local/share/bash/basher ]]; then
|
|
||||||
git clone https://github.com/basherpm/basher.git $HOME/.local/share/bash/basher
|
|
||||||
fi
|
|
||||||
eval "$(basher init - bash)"
|
|
||||||
# Plugins
|
|
||||||
# [[ -d $HOME/.local/share/bash/basher/cellar/packages/kazhala/dotbare ]] || basher install kazhala/dotbare
|
|
||||||
[[ -d $HOME/.local/share/bash/basher/cellar/packages/wfxr/forgit ]] || basher install wfxr/forgit
|
|
||||||
[[ -d $HOME/.local/share/bash/basher/cellar/packages/holman/spark ]] || basher install holman/spark
|
|
||||||
[[ -d $HOME/.local/share/bash/basher/cellar/packages/unixorn/git-extra-commands ]] || basher install unixorn/git-extra-commands
|
|
||||||
|
|
||||||
# Plugins' init
|
|
||||||
# include kazhala/dotbare dotbare.plugin.bash && _dotbare_completion_cmd
|
|
||||||
include wfxr/forgit forgit.plugin.sh
|
|
||||||
|
|
||||||
# ________ _______________
|
# ________ _______________
|
||||||
# __ ___/______ /__ /___(_)_____________ ________
|
# __ ___/______ /__ /___(_)_____________ ________
|
||||||
# _____ \_ _ \ __/ __/_ /__ __ \_ __ `/_ ___/
|
# _____ \_ _ \ __/ __/_ /__ __ \_ __ `/_ ___/
|
||||||
@ -702,10 +660,30 @@ shopt -s checkwinsize
|
|||||||
shopt -s expand_aliases
|
shopt -s expand_aliases
|
||||||
shopt -s histappend
|
shopt -s histappend
|
||||||
|
|
||||||
# this is overkilled but it works conveniently
|
export PS2="\[\e[1;31m\]> "
|
||||||
[[ -d $HOME/.local/share/bash/basher/cellar/packages/junegunn/fzf ]] || basher install junegunn/fzf
|
|
||||||
include junegunn/fzf shell/key-bindings.bash
|
# ______________ _____
|
||||||
include junegunn/fzf shell/completion.bash
|
# ___ __ \__ /___ ________ ___(_)______________
|
||||||
|
# __ /_/ /_ /_ / / /_ __ `/_ /__ __ \_ ___/
|
||||||
|
# _ ____/_ / / /_/ /_ /_/ /_ / _ / / /(__ )
|
||||||
|
# /_/ /_/ \__,_/ _\__, / /_/ /_/ /_//____/
|
||||||
|
# /____/
|
||||||
|
# forgit
|
||||||
|
if [ ! -f "$BASH_COMPLETION_USER_DIR/plugins/forgit.plugin.bash" ]; then
|
||||||
|
curl -fLo $BASH_COMPLETION_USER_DIR/plugins/forgit.plugin.bash https://github.com/wfxr/forgit/raw/master/forgit.plugin.zsh
|
||||||
|
fi
|
||||||
|
source $BASH_COMPLETION_USER_DIR/plugins/forgit.plugin.sh
|
||||||
|
|
||||||
|
# If I don't want starship
|
||||||
|
# source $BASH_COMPLETION_USER_DIR/plugins/prompt.bash
|
||||||
|
|
||||||
|
# fzf
|
||||||
|
if [ ! -f "$BASH_COMPLETION_USER_DIR/plugins/fzf-completion.bash" ] || [ ! -f "$BASH_COMPLETION_USER_DIR/plugins/fzf-bindings.bash" ]; then
|
||||||
|
curl -fLo $BASH_COMPLETION_USER_DIR/plugins/fzf-completion.bash https://github.com/junegunn/fzf/raw/master/shell/completion.bash
|
||||||
|
curl -fLo $BASH_COMPLETION_USER_DIR/plugins/fzf-bindings.bash https://github.com/junegunn/fzf/raw/master/shell/key-bindings.bash
|
||||||
|
fi
|
||||||
|
source $BASH_COMPLETION_USER_DIR/plugins/fzf-completion.bash
|
||||||
|
source $BASH_COMPLETION_USER_DIR/plugins/fzf-bindings.bash
|
||||||
export FZF_COMPLETION_OPTS='-x'
|
export FZF_COMPLETION_OPTS='-x'
|
||||||
|
|
||||||
# Use fd instead of find for fzf_completion
|
# Use fd instead of find for fzf_completion
|
||||||
@ -724,68 +702,4 @@ _fzf_setup_completion dir tree
|
|||||||
# ^X^R
|
# ^X^R
|
||||||
bind "$(bind -s | grep '^"\\C-r"' | sed 's/"/"\\C-x/' | sed 's/"$/\\C-m"/')"
|
bind "$(bind -s | grep '^"\\C-r"' | sed 's/"/"\\C-x/' | sed 's/"$/\\C-m"/')"
|
||||||
|
|
||||||
# ________ _____
|
|
||||||
# ___ __ \___________________ _____________ /_
|
|
||||||
# __ /_/ /_ ___/ __ \_ __ `__ \__ __ \ __/
|
|
||||||
# _ ____/_ / / /_/ / / / / / /_ /_/ / /_
|
|
||||||
# /_/ /_/ \____//_/ /_/ /_/_ .___/\__/
|
|
||||||
# /_/
|
|
||||||
#
|
|
||||||
# get current branch in git repo
|
|
||||||
parse_git_branch() {
|
|
||||||
BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
|
|
||||||
if [ ! "${BRANCH}" = "" ]
|
|
||||||
then
|
|
||||||
STAT=$(parse_git_dirty)
|
|
||||||
echo "${BRANCH}${STAT}"
|
|
||||||
else
|
|
||||||
echo ""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# get current status of git repo
|
|
||||||
parse_git_dirty() {
|
|
||||||
status=$(git status 2>&1 | tee)
|
|
||||||
dirty=$(echo -n "${status}" 2> /dev/null | grep "modified:" &> /dev/null; echo "$?")
|
|
||||||
untracked=$(echo -n "${status}" 2> /dev/null | grep "Untracked files" &> /dev/null; echo "$?")
|
|
||||||
ahead=$(echo -n "${status}" 2> /dev/null | grep "Your branch is ahead of" &> /dev/null; echo "$?")
|
|
||||||
newfile=$(echo -n "${status}" 2> /dev/null | grep "new file:" &> /dev/null; echo "$?")
|
|
||||||
renamed=$(echo -n "${status}" 2> /dev/null | grep "renamed:" &> /dev/null; echo "$?")
|
|
||||||
deleted=$(echo -n "${status}" 2> /dev/null | grep "deleted:" &> /dev/null; echo "$?")
|
|
||||||
bits=''
|
|
||||||
if [ "${ahead}" = "0" ]; then
|
|
||||||
bits="*${bits}"
|
|
||||||
fi
|
|
||||||
if [ "${renamed}" = "0" ]; then
|
|
||||||
bits=">${bits}"
|
|
||||||
fi
|
|
||||||
if [ "${newfile}" = "0" ]; then
|
|
||||||
bits="+${bits}"
|
|
||||||
fi
|
|
||||||
if [ "${untracked}" = "0" ]; then
|
|
||||||
bits="?${bits}"
|
|
||||||
fi
|
|
||||||
if [ "${deleted}" = "0" ]; then
|
|
||||||
bits="x${bits}"
|
|
||||||
fi
|
|
||||||
if [ "${dirty}" = "0" ]; then
|
|
||||||
bits="!${bits}"
|
|
||||||
fi
|
|
||||||
if [ ! "${bits}" = "" ]; then
|
|
||||||
echo " ${bits}"
|
|
||||||
else
|
|
||||||
echo ""
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Prompt
|
|
||||||
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\]╭─[\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \$(if [[ \$? == 0 ]]; then echo \"\[$(tput setaf 2)\]\342\234\223\"; else echo \"\[$(tput setaf 1)\]\342\234\227\"; fi)\[$(tput setaf 1)\]] \[$(tput setaf 5)\]\w \[$(tput setaf 2)\]\`parse_git_branch\`\n\[$(tput setaf 1)\]╰\[$(tput sgr0)\] "
|
|
||||||
export PS2="\[\e[1;31m\]> "
|
|
||||||
|
|
||||||
# _________ __________
|
|
||||||
# __ ____/__________________ /___(_)_____________ _
|
|
||||||
# _ / __ __ ___/ _ \ _ \ __/_ /__ __ \_ __ `/
|
|
||||||
# / /_/ / _ / / __/ __/ /_ _ / _ / / / /_/ /
|
|
||||||
# \____/ /_/ \___/\___/\__/ /_/ /_/ /_/_\__, /
|
|
||||||
# /____/
|
|
||||||
$HOME/.local/bin/bunny
|
$HOME/.local/bin/bunny
|
||||||
|
@ -36,6 +36,7 @@ http = 'qutebrowser'
|
|||||||
|
|
||||||
# Any URL that will accept a query string can be put here
|
# Any URL that will accept a query string can be put here
|
||||||
search = "gemini://gus.guru/search"
|
search = "gemini://gus.guru/search"
|
||||||
|
# search = "gemini://geminispace.info/search"
|
||||||
|
|
||||||
# Whether colors will be used in the terminal
|
# Whether colors will be used in the terminal
|
||||||
color = true
|
color = true
|
||||||
|
@ -1,74 +1,40 @@
|
|||||||
# Do something
|
# Config file for bottom
|
||||||
|
|
||||||
[flags]
|
[flags]
|
||||||
|
|
||||||
# Hide avg_cpu (doesn't work though)
|
|
||||||
hide_avg_cpu = true
|
hide_avg_cpu = true
|
||||||
|
|
||||||
dot_marker = true
|
dot_marker = true
|
||||||
|
|
||||||
rate = 1000
|
rate = 1000
|
||||||
|
|
||||||
left_legend = true
|
left_legend = true
|
||||||
|
|
||||||
current_usage = true
|
current_usage = true
|
||||||
|
|
||||||
group_processes = true
|
group_processes = true
|
||||||
|
|
||||||
case_sensitive = false
|
case_sensitive = false
|
||||||
|
|
||||||
whole_word = false
|
whole_word = false
|
||||||
|
|
||||||
regex = false
|
regex = false
|
||||||
|
|
||||||
show_disabled_data = false
|
show_disabled_data = false
|
||||||
|
|
||||||
temperature_type = "c"
|
temperature_type = "c"
|
||||||
|
|
||||||
default_time_value = 60000
|
default_time_value = 60000
|
||||||
|
|
||||||
time_delta = 15000
|
time_delta = 15000
|
||||||
|
|
||||||
default_widget_type = "proc"
|
default_widget_type = "proc"
|
||||||
|
|
||||||
default_widget_count = 1
|
default_widget_count = 1
|
||||||
|
|
||||||
basic = false
|
basic = false
|
||||||
|
|
||||||
use_old_network_legend = false
|
use_old_network_legend = false
|
||||||
|
|
||||||
hide_table_count = false
|
hide_table_count = false
|
||||||
|
|
||||||
# Colors
|
|
||||||
[colors]
|
[colors]
|
||||||
|
|
||||||
table_header_color="LightBlue"
|
table_header_color="LightBlue"
|
||||||
|
|
||||||
widget_title_color="White"
|
widget_title_color="White"
|
||||||
|
|
||||||
avg_cpu_color="Red"
|
avg_cpu_color="Red"
|
||||||
|
|
||||||
cpu_core_colors=["LightMagenta", "LightYellow", "White", "LightGreen", "LightBlue", "LightRed", "Cyan", "Yellow"]
|
cpu_core_colors=["LightMagenta", "LightYellow", "White", "LightGreen", "LightBlue", "LightRed", "Cyan", "Yellow"]
|
||||||
|
|
||||||
ram_color="Green"
|
ram_color="Green"
|
||||||
|
|
||||||
swap_color="Yellow"
|
swap_color="Yellow"
|
||||||
|
|
||||||
rx_color="Green"
|
rx_color="Green"
|
||||||
|
|
||||||
tx_color="Yellow"
|
tx_color="Yellow"
|
||||||
|
|
||||||
border_color="Blue"
|
border_color="Blue"
|
||||||
|
|
||||||
highlighted_border_color="Green"
|
highlighted_border_color="Green"
|
||||||
|
|
||||||
text_color="Gray"
|
text_color="Gray"
|
||||||
|
|
||||||
selected_text_color="Black"
|
selected_text_color="Black"
|
||||||
|
|
||||||
selected_bg_color="LightBlue"
|
selected_bg_color="LightBlue"
|
||||||
|
|
||||||
graph_color="Blue"
|
graph_color="Blue"
|
||||||
|
|
||||||
battery_colors = ["red", "yellow", "yellow", "green", "green", "green"]
|
battery_colors = ["red", "yellow", "yellow", "green", "green", "green"]
|
||||||
|
|
||||||
# The default widget layout:
|
# The default widget layout:
|
||||||
|
@ -16,7 +16,6 @@ alias mv='mv -vi'
|
|||||||
alias rm='rm -vr'
|
alias rm='rm -vr'
|
||||||
alias mkdir='mkdir -pv'
|
alias mkdir='mkdir -pv'
|
||||||
abbr no 'grep -viP'
|
abbr no 'grep -viP'
|
||||||
# abbr latest_pkg "expac --timefmt='%Y-%m-%d %T' '%l\t%n' | sort | tail -n 30"
|
|
||||||
alias yarn='yarn --use-yarnrc $HOME/.config/yarn/config'
|
alias yarn='yarn --use-yarnrc $HOME/.config/yarn/config'
|
||||||
abbr tmux 'TERM=screen-256color command tmux'
|
abbr tmux 'TERM=screen-256color command tmux'
|
||||||
# colorizing
|
# colorizing
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
Config {
|
|
||||||
maxHistoryLength = 1000,
|
|
||||||
historyPath = "~/.cache/greenclip/history",
|
|
||||||
staticHistoryPath = "~/.cache/greenclip/staticHistory",
|
|
||||||
imageCachePath = "/tmp/greenclip/",
|
|
||||||
usePrimarySelectionAsInput = False,
|
|
||||||
blacklistedApps = [],
|
|
||||||
trimSpaceFromSelection = True
|
|
||||||
}
|
|
13
home/.config/greenclip.toml
Normal file
13
home/.config/greenclip.toml
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
[greenclip]
|
||||||
|
history_file = "~/.cache/greenclip.history"
|
||||||
|
max_history_length = 1000
|
||||||
|
max_selection_size_bytes = 0
|
||||||
|
trim_space_from_selection = true
|
||||||
|
use_primary_selection_as_input = false
|
||||||
|
blacklisted_applications = []
|
||||||
|
enable_image_support = true
|
||||||
|
# path without ending / will generate mktemp directory at the prefix location
|
||||||
|
image_cache_directory = "/tmp/greenclip"
|
||||||
|
staticHistory = [
|
||||||
|
'''¯\_(ツ)_/¯''',
|
||||||
|
]
|
@ -1,9 +1,3 @@
|
|||||||
" ______ _____
|
|
||||||
" ___ /_______ __________(_)______
|
|
||||||
" __ __ \ __ `/_ ___/_ /_ ___/
|
|
||||||
" _ /_/ / /_/ /_(__ )_ / / /__
|
|
||||||
" /_.___/\__,_/ /____/ /_/ \___/
|
|
||||||
"
|
|
||||||
syntax on
|
syntax on
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
if &term =~ '256color'
|
if &term =~ '256color'
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
" ______ ______ _____ _________
|
|
||||||
" ___ /___________ ____ /____(_)____________ /_______
|
|
||||||
" __ //_/ _ \_ / / /_ __ \_ /__ __ \ __ /__ ___/
|
|
||||||
" _ ,< / __/ /_/ /_ /_/ / / _ / / / /_/ / _(__ )
|
|
||||||
" /_/|_| \___/_\__, / /_.___//_/ /_/ /_/\__,_/ /____/
|
|
||||||
" /____/
|
|
||||||
"
|
|
||||||
" Better escape
|
" Better escape
|
||||||
inoremap jk <Esc>
|
inoremap jk <Esc>
|
||||||
inoremap kj <Esc>
|
inoremap kj <Esc>
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
" _____ ______
|
|
||||||
" ___ ____(_)______ ___ ___________ /___ ________ _
|
|
||||||
" __ | / /_ /__ __ `__ \_______ __ \_ /_ / / /_ __ `/
|
|
||||||
" __ |/ /_ / _ / / / / //___/_ /_/ / / / /_/ /_ /_/ /
|
|
||||||
" _____/ /_/ /_/ /_/ /_/ _ .___//_/ \__,_/ _\__, /
|
|
||||||
" /_/ /____/
|
|
||||||
"
|
|
||||||
" Install vim-plug if missing
|
" Install vim-plug if missing
|
||||||
if empty(glob('$HOME/.local/share/nvim/site/autoload/plug.vim'))
|
if empty(glob('$HOME/.local/share/nvim/site/autoload/plug.vim'))
|
||||||
silent !curl -fLo $HOME/.local/share/nvim/site/autoload/plug.vim --create-dirs
|
silent !curl -fLo $HOME/.local/share/nvim/site/autoload/plug.vim --create-dirs
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
; ________ ______ ______
|
|
||||||
; ___ __ \________ /____ ____ /_______ ________
|
|
||||||
; __ /_/ / __ \_ /__ / / /_ __ \ __ `/_ ___/
|
|
||||||
; _ ____// /_/ / / _ /_/ /_ /_/ / /_/ /_ /
|
|
||||||
; /_/ \____//_/ _\__, / /_.___/\__,_/ /_/
|
|
||||||
; /____/
|
|
||||||
|
|
||||||
[bar/mainbar]
|
[bar/mainbar]
|
||||||
background = #2e3440
|
background = #2e3440
|
||||||
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;3"
|
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;3"
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
; ________ ______ ______
|
|
||||||
; ___ __ \________ /____ ____ /_______ ________
|
|
||||||
; __ /_/ / __ \_ /__ / / /_ __ \ __ `/_ ___/
|
|
||||||
; _ ____// /_/ / / _ /_/ /_ /_/ / /_/ /_ /
|
|
||||||
; /_/ \____//_/ _\__, / /_.___/\__,_/ /_/
|
|
||||||
; /____/
|
|
||||||
;
|
|
||||||
[bar/mainbar]
|
[bar/mainbar]
|
||||||
background = #282c34
|
background = #282c34
|
||||||
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;2"
|
font-0 = "Iosevka Nerd Font:style=Regular:size=12:antialias=true;2"
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# _____ __ _________
|
|
||||||
# ___ | / /__________________ /
|
|
||||||
# __ |/ /_ __ \_ ___/ __ /
|
|
||||||
# _ /| / / /_/ / / / /_/ /
|
|
||||||
# /_/ |_/ \____//_/ \__,_/
|
|
||||||
#
|
|
||||||
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
||||||
# Base16 qutebrowser template by theova
|
# Base16 qutebrowser template by theova
|
||||||
# Nord scheme by arcticicestudio
|
# Nord scheme by arcticicestudio
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
# _______ ________ ______
|
|
||||||
# __ __ \______________ __ \_____ __________ /__
|
|
||||||
# _ / / /_ __ \ _ \_ / / / __ `/_ ___/_ //_/
|
|
||||||
# / /_/ /_ / / / __/ /_/ // /_/ /_ / _ ,<
|
|
||||||
# \____/ /_/ /_/\___//_____/ \__,_/ /_/ /_/|_|
|
|
||||||
#
|
|
||||||
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
||||||
# Base16 qutebrowser template by theova
|
# Base16 qutebrowser template by theova
|
||||||
# OneDark scheme by Lalit Magant (http://github.com/tilal6991)
|
# OneDark scheme by Lalit Magant (http://github.com/tilal6991)
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
# ===================================================================
|
# ===================================================================
|
||||||
# ________
|
|
||||||
# ___ __ \_____ ______________ _____________
|
|
||||||
# __ /_/ / __ `/_ __ \_ __ `/ _ \_ ___/
|
|
||||||
# _ _, _// /_/ /_ / / / /_/ // __/ /
|
|
||||||
# /_/ |_| \__,_/ /_/ /_/_\__, / \___//_/
|
|
||||||
# /____/
|
|
||||||
#
|
|
||||||
# ===================================================================
|
|
||||||
# == Options
|
# == Options
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
# ________ _____
|
|
||||||
# __ ___/____________________ /__________ ________ ___
|
|
||||||
# _____ \___ __ \ _ \ ___/ __/_ ___/_ | /| / /_ __ `__ \
|
|
||||||
# ____/ /__ /_/ / __/ /__ / /_ _ / __ |/ |/ /_ / / / / /
|
|
||||||
# /____/ _ .___/\___/\___/ \__/ /_/ ____/|__/ /_/ /_/ /_/
|
|
||||||
# /_/
|
|
||||||
#
|
|
||||||
# General config
|
# General config
|
||||||
workspace_limit = 10
|
workspace_limit = 10
|
||||||
focus_mode = default
|
focus_mode = default
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
# ________ _____
|
|
||||||
# __ ___/____________________ /__________ ________ ___
|
|
||||||
# _____ \___ __ \ _ \ ___/ __/_ ___/_ | /| / /_ __ `__ \
|
|
||||||
# ____/ /__ /_/ / __/ /__ / /_ _ / __ |/ |/ /_ / / / / /
|
|
||||||
# /____/ _ .___/\___/\___/ \__/ /_/ ____/|__/ /_/ /_/ /_/
|
|
||||||
# /_/
|
|
||||||
#
|
|
||||||
# General config
|
# General config
|
||||||
workspace_limit = 10
|
workspace_limit = 10
|
||||||
focus_mode = default
|
focus_mode = default
|
||||||
|
@ -2,12 +2,6 @@ add_newline = false
|
|||||||
scan_timeout = 20
|
scan_timeout = 20
|
||||||
format = "$all"
|
format = "$all"
|
||||||
|
|
||||||
# __________ _________
|
|
||||||
# ___ |_ | / /_ ___/
|
|
||||||
# __ /| |_ | /| / /_____ \
|
|
||||||
# _ ___ |_ |/ |/ / ____/ /
|
|
||||||
# /_/ |_|___/|__/ /____/
|
|
||||||
#
|
|
||||||
[aws]
|
[aws]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bold yellow"
|
style = "bold yellow"
|
||||||
@ -18,12 +12,6 @@ disabled = true
|
|||||||
ap-southeast-2 = "au"
|
ap-southeast-2 = "au"
|
||||||
us-east-1 = "va"
|
us-east-1 = "va"
|
||||||
|
|
||||||
# ________ __________
|
|
||||||
# ___ __ )_____ __ /__ /_________________ __
|
|
||||||
# __ __ | __ `/ __/ __/ _ \_ ___/_ / / /
|
|
||||||
# _ /_/ // /_/ // /_ / /_ / __/ / _ /_/ /
|
|
||||||
# /_____/ \__,_/ \__/ \__/ \___//_/ _\__, /
|
|
||||||
# /____/
|
|
||||||
[battery]
|
[battery]
|
||||||
full_symbol = "🔋"
|
full_symbol = "🔋"
|
||||||
charging_symbol = " "
|
charging_symbol = " "
|
||||||
@ -41,12 +29,6 @@ style = "bold red"
|
|||||||
threshold = 20
|
threshold = 20
|
||||||
style = "bold yellow"
|
style = "bold yellow"
|
||||||
|
|
||||||
# ______________ _____
|
|
||||||
# __ ____/__ /_______ _____________ ________ /_____________
|
|
||||||
# _ / __ __ \ __ `/_ ___/ __ `/ ___/ __/ _ \_ ___/
|
|
||||||
# / /___ _ / / / /_/ /_ / / /_/ // /__ / /_ / __/ /
|
|
||||||
# \____/ /_/ /_/\__,_/ /_/ \__,_/ \___/ \__/ \___//_/
|
|
||||||
#
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = "[❯](bold green)"
|
success_symbol = "[❯](bold green)"
|
||||||
error_symbol = "[✗](bold red)"
|
error_symbol = "[✗](bold red)"
|
||||||
@ -54,24 +36,12 @@ vicmd_symbol = "[❮](bold green)"
|
|||||||
format = "$symbol "
|
format = "$symbol "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ______________ ___ ______
|
|
||||||
# __ ____/__ |/ /_____ ___ /______
|
|
||||||
# _ / __ /|_/ /_ __ `/_ //_/ _ \
|
|
||||||
# / /___ _ / / / / /_/ /_ ,< / __/
|
|
||||||
# \____/ /_/ /_/ \__,_/ /_/|_| \___/
|
|
||||||
#
|
|
||||||
[cmake]
|
[cmake]
|
||||||
symbol = "喝"
|
symbol = "喝"
|
||||||
style = "bold blue"
|
style = "bold blue"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _________ __________
|
|
||||||
# ______ /___ ______________ __ /___(_)____________
|
|
||||||
# _ __ /_ / / /_ ___/ __ `/ __/_ /_ __ \_ __ \
|
|
||||||
# / /_/ / / /_/ /_ / / /_/ // /_ _ / / /_/ / / / /
|
|
||||||
# \__,_/ \__,_/ /_/ \__,_/ \__/ /_/ \____//_/ /_/
|
|
||||||
#
|
|
||||||
[cmd_duration]
|
[cmd_duration]
|
||||||
min_time = 1000
|
min_time = 1000
|
||||||
show_milliseconds = false
|
show_milliseconds = false
|
||||||
@ -79,12 +49,6 @@ style = "bold yellow"
|
|||||||
format = "took [$duration]($style) "
|
format = "took [$duration]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _________ _________
|
|
||||||
# __ ____/__________________ /_____ _
|
|
||||||
# _ / _ __ \_ __ \ __ /_ __ `/
|
|
||||||
# / /___ / /_/ / / / / /_/ / / /_/ /
|
|
||||||
# \____/ \____//_/ /_/\__,_/ \__,_/
|
|
||||||
#
|
|
||||||
[conda]
|
[conda]
|
||||||
truncation_length = 1
|
truncation_length = 1
|
||||||
symbol = "🐍 "
|
symbol = "🐍 "
|
||||||
@ -93,36 +57,18 @@ format = "[$symbol$environment]($style) "
|
|||||||
ignore_base = true
|
ignore_base = true
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _________ _____ ______
|
|
||||||
# __ ____/___________ __________ /______ ___ /
|
|
||||||
# _ / __ ___/_ / / /_ ___/ __/ __ `/_ /
|
|
||||||
# / /___ _ / _ /_/ /_(__ )/ /_ / /_/ /_ /
|
|
||||||
# \____/ /_/ _\__, / /____/ \__/ \__,_/ /_/
|
|
||||||
# /____/
|
|
||||||
[crystal]
|
[crystal]
|
||||||
symbol = "🔮 "
|
symbol = "🔮 "
|
||||||
style = "bold red"
|
style = "bold red"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ________ _____
|
|
||||||
# ___ __ \_____ _________ /_
|
|
||||||
# __ / / / __ `/_ ___/ __/
|
|
||||||
# _ /_/ // /_/ /_ / / /_
|
|
||||||
# /_____/ \__,_/ /_/ \__/
|
|
||||||
#
|
|
||||||
[dart]
|
[dart]
|
||||||
symbol = "🔰 "
|
symbol = "🔰 "
|
||||||
style = "bold blue"
|
style = "bold blue"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# _____________ _____
|
|
||||||
# ___ __ \__(_)___________________ /__________________ __
|
|
||||||
# __ / / /_ /__ ___/ _ \ ___/ __/ __ \_ ___/_ / / /
|
|
||||||
# _ /_/ /_ / _ / / __/ /__ / /_ / /_/ / / _ /_/ /
|
|
||||||
# /_____/ /_/ /_/ \___/\___/ \__/ \____//_/ _\__, /
|
|
||||||
# /____/
|
|
||||||
[directory]
|
[directory]
|
||||||
truncation_length = 5
|
truncation_length = 5
|
||||||
truncate_to_repo = true
|
truncate_to_repo = true
|
||||||
@ -136,12 +82,6 @@ style = "bold cyan"
|
|||||||
format = "[$path]($style)[$read_only]($read_only_style) "
|
format = "[$path]($style)[$read_only]($read_only_style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________ ______
|
|
||||||
# ___ __ \______________ /______________
|
|
||||||
# __ / / / __ \ ___/_ //_/ _ \_ ___/
|
|
||||||
# _ /_/ // /_/ / /__ _ ,< / __/ /
|
|
||||||
# /_____/ \____/\___/ /_/|_| \___//_/
|
|
||||||
#
|
|
||||||
[docker_context]
|
[docker_context]
|
||||||
only_with_files = false
|
only_with_files = false
|
||||||
symbol = "🐋 "
|
symbol = "🐋 "
|
||||||
@ -149,12 +89,6 @@ style = "blue bold"
|
|||||||
format = "via [$symbol$context]($style) "
|
format = "via [$symbol$context]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________ _____ _____
|
|
||||||
# ___ __ \_______ /______________ /_
|
|
||||||
# __ / / / __ \ __/_ __ \ _ \ __/
|
|
||||||
# _ /_/ // /_/ / /_ _ / / / __/ /_
|
|
||||||
# /_____/ \____/\__/ /_/ /_/\___/\__/
|
|
||||||
#
|
|
||||||
[dotnet]
|
[dotnet]
|
||||||
heuristic = true
|
heuristic = true
|
||||||
symbol = "•NET "
|
symbol = "•NET "
|
||||||
@ -162,36 +96,18 @@ style = "bold blue"
|
|||||||
format = "via [$symbol$version( 🎯 $tfm)]($style) "
|
format = "via [$symbol$version( 🎯 $tfm)]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ___________________ _____
|
|
||||||
# ___ ____/__ /__(_)___ ____(_)_______
|
|
||||||
# __ __/ __ /__ /__ |/_/_ /__ ___/
|
|
||||||
# _ /___ _ / _ / __> < _ / _ /
|
|
||||||
# /_____/ /_/ /_/ /_/|_| /_/ /_/
|
|
||||||
#
|
|
||||||
[elixir]
|
[elixir]
|
||||||
symbol = "💧"
|
symbol = "💧"
|
||||||
style = "bold purple"
|
style = "bold purple"
|
||||||
format = "via [$symbol$version \\(OTP $otp_version\\)]($style) "
|
format = "via [$symbol$version \\(OTP $otp_version\\)]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# _______________
|
|
||||||
# ___ ____/__ /______ ___
|
|
||||||
# __ __/ __ /__ __ `__ \
|
|
||||||
# _ /___ _ / _ / / / / /
|
|
||||||
# /_____/ /_/ /_/ /_/ /_/
|
|
||||||
#
|
|
||||||
[elm]
|
[elm]
|
||||||
symbol = "🌳 "
|
symbol = "🌳 "
|
||||||
style = "cyan bold"
|
style = "cyan bold"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# __________
|
|
||||||
# ___ ____/_________ __ ___ _______ ________
|
|
||||||
# __ __/ __ __ \_ | / / __ | / / __ `/_ ___/
|
|
||||||
# _ /___ _ / / /_ |/ / __ |/ // /_/ /_ /
|
|
||||||
# /_____/ /_/ /_/_____/___________/ \__,_/ /_/
|
|
||||||
# _/_____/
|
|
||||||
[env_var]
|
[env_var]
|
||||||
variable = "STARSHIP_SHELL"
|
variable = "STARSHIP_SHELL"
|
||||||
default = "sh"
|
default = "sh"
|
||||||
@ -200,24 +116,12 @@ style = "bold dimmed white"
|
|||||||
format = "with [$symbol$env_value]($style) "
|
format = "with [$symbol$env_value]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# __________ ______
|
|
||||||
# ___ ____/_________ /_____ ______________ _
|
|
||||||
# __ __/ __ ___/_ /_ __ `/_ __ \_ __ `/
|
|
||||||
# _ /___ _ / _ / / /_/ /_ / / / /_/ /
|
|
||||||
# /_____/ /_/ /_/ \__,_/ /_/ /_/_\__, /
|
|
||||||
# /____/
|
|
||||||
[erlang]
|
[erlang]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bold red"
|
style = "bold red"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# _________ ______ _________
|
|
||||||
# __ ____/________ /_________ _______ /
|
|
||||||
# _ / __ _ ___/_ /_ __ \ / / / __ /
|
|
||||||
# / /_/ / / /__ _ / / /_/ / /_/ // /_/ /
|
|
||||||
# \____/ \___/ /_/ \____/\__,_/ \__,_/
|
|
||||||
#
|
|
||||||
[gcloud]
|
[gcloud]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bold blue"
|
style = "bold blue"
|
||||||
@ -228,12 +132,6 @@ disabled = true
|
|||||||
us-central1 = "uc1"
|
us-central1 = "uc1"
|
||||||
asia-northeast1 = "an1"
|
asia-northeast1 = "an1"
|
||||||
|
|
||||||
# __________________
|
|
||||||
# __ ____/__(_)_ /_
|
|
||||||
# _ / __ __ /_ __/
|
|
||||||
# / /_/ / _ / / /_
|
|
||||||
# \____/ /_/ \__/
|
|
||||||
#
|
|
||||||
[git_branch]
|
[git_branch]
|
||||||
truncation_length = 9223372036854775807
|
truncation_length = 9223372036854775807
|
||||||
truncation_symbol = "…"
|
truncation_symbol = "…"
|
||||||
@ -276,36 +174,18 @@ style = "bold red"
|
|||||||
format = "[$all_status$ahead_behind]($style)"
|
format = "[$all_status$ahead_behind]($style)"
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _________ ______
|
|
||||||
# __ ____/________ /_____ ______________ _
|
|
||||||
# _ / __ _ __ \_ /_ __ `/_ __ \_ __ `/
|
|
||||||
# / /_/ / / /_/ / / / /_/ /_ / / / /_/ /
|
|
||||||
# \____/ \____//_/ \__,_/ /_/ /_/_\__, /
|
|
||||||
# /____/
|
|
||||||
[golang]
|
[golang]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bold cyan"
|
style = "bold cyan"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ______ __ ______
|
|
||||||
# ___ / / /_______ /______ ___
|
|
||||||
# __ /_/ /_ _ \_ /__ __ `__ \
|
|
||||||
# _ __ / / __/ / _ / / / / /
|
|
||||||
# /_/ /_/ \___//_/ /_/ /_/ /_/
|
|
||||||
#
|
|
||||||
[helm]
|
[helm]
|
||||||
symbol = "⎈ "
|
symbol = "⎈ "
|
||||||
style = "bold white"
|
style = "bold white"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ______ __ _____
|
|
||||||
# ___ / / /______________ /_____________ _______ ________
|
|
||||||
# __ /_/ /_ __ \_ ___/ __/_ __ \ __ `/_ __ `__ \ _ \
|
|
||||||
# _ __ / / /_/ /(__ )/ /_ _ / / / /_/ /_ / / / / / __/
|
|
||||||
# /_/ /_/ \____//____/ \__/ /_/ /_/\__,_/ /_/ /_/ /_/\___/
|
|
||||||
#
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = true
|
ssh_only = true
|
||||||
trim_at = ""
|
trim_at = ""
|
||||||
@ -313,24 +193,12 @@ style = "bold dimmed green"
|
|||||||
format = "[$hostname]($style) in "
|
format = "[$hostname]($style) in "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _________
|
|
||||||
# ______ /_____ ___ _______ _
|
|
||||||
# ___ _ /_ __ `/_ | / / __ `/
|
|
||||||
# / /_/ / / /_/ /__ |/ // /_/ /
|
|
||||||
# \____/ \__,_/ _____/ \__,_/
|
|
||||||
#
|
|
||||||
[java]
|
[java]
|
||||||
symbol = "☕"
|
symbol = "☕"
|
||||||
style = "red dimmed"
|
style = "red dimmed"
|
||||||
format = "via [${symbol}${version}]($style) "
|
format = "via [${symbol}${version}]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _________ ______
|
|
||||||
# ______ /________ /_________
|
|
||||||
# ___ _ /_ __ \_ __ \_ ___/
|
|
||||||
# / /_/ / / /_/ / /_/ /(__ )
|
|
||||||
# \____/ \____//_.___//____/
|
|
||||||
#
|
|
||||||
[jobs]
|
[jobs]
|
||||||
threshold = 1
|
threshold = 1
|
||||||
symbol = "✦"
|
symbol = "✦"
|
||||||
@ -338,24 +206,12 @@ style = "bold yellow"
|
|||||||
format = "[$symbol$number]($style) "
|
format = "[$symbol$number]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _________ __________
|
|
||||||
# ______ /___ ____ /__(_)_____ _
|
|
||||||
# ___ _ /_ / / /_ /__ /_ __ `/
|
|
||||||
# / /_/ / / /_/ /_ / _ / / /_/ /
|
|
||||||
# \____/ \__,_/ /_/ /_/ \__,_/
|
|
||||||
#
|
|
||||||
[julia]
|
[julia]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bold purple"
|
style = "bold purple"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ______ __ _______________
|
|
||||||
# ___ //_/_______ /___ /__(_)______
|
|
||||||
# __ ,< _ __ \ __/_ /__ /__ __ \
|
|
||||||
# _ /| | / /_/ / /_ _ / _ / _ / / /
|
|
||||||
# /_/ |_| \____/\__/ /_/ /_/ /_/ /_/
|
|
||||||
#
|
|
||||||
[kotlin]
|
[kotlin]
|
||||||
kotlin_binary = "kotlin"
|
kotlin_binary = "kotlin"
|
||||||
symbol = "K "
|
symbol = "K "
|
||||||
@ -363,12 +219,6 @@ style = "bold blue"
|
|||||||
format = "via [$symbol($version )]($style)"
|
format = "via [$symbol($version )]($style)"
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ______ __ ______ ______ _____
|
|
||||||
# ___ //_/___ ____ /________________ /________ /_____________
|
|
||||||
# __ ,< _ / / /_ __ \ _ \_ ___/_ __ \ _ \ __/ _ \_ ___/
|
|
||||||
# _ /| | / /_/ /_ /_/ / __/ / _ /_/ / __/ /_ / __/(__ )
|
|
||||||
# /_/ |_| \__,_/ /_.___/\___//_/ /_.___/\___/\__/ \___//____/
|
|
||||||
#
|
|
||||||
[kubernetes]
|
[kubernetes]
|
||||||
namespace_spaceholder = ""
|
namespace_spaceholder = ""
|
||||||
symbol = "⛵ "
|
symbol = "⛵ "
|
||||||
@ -379,21 +229,9 @@ disabled = true
|
|||||||
[kubernetes.context_aliases]
|
[kubernetes.context_aliases]
|
||||||
"dev.local.cluster.k8s" = "dev"
|
"dev.local.cluster.k8s" = "dev"
|
||||||
|
|
||||||
# ___________
|
|
||||||
# ___ /___(_)___________
|
|
||||||
# __ / __ /__ __ \ _ \
|
|
||||||
# _ /___ / _ / / / __/
|
|
||||||
# /_____/_/ /_/ /_/\___/
|
|
||||||
#
|
|
||||||
[line_break]
|
[line_break]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ______
|
|
||||||
# ___ / ____ _______ _
|
|
||||||
# __ / _ / / / __ `/
|
|
||||||
# _ /___/ /_/ // /_/ /
|
|
||||||
# /_____/\__,_/ \__,_/
|
|
||||||
#
|
|
||||||
[lua]
|
[lua]
|
||||||
lua_binary = "lua"
|
lua_binary = "lua"
|
||||||
symbol = " "
|
symbol = " "
|
||||||
@ -401,13 +239,6 @@ style = "bold blue"
|
|||||||
format = "via [$symbol($version )]($style)"
|
format = "via [$symbol($version )]($style)"
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ______ ___
|
|
||||||
# ___ |/ /___________ _____________________ __
|
|
||||||
# __ /|_/ /_ _ \_ __ `__ \ __ \_ ___/_ / / /
|
|
||||||
# _ / / / / __/ / / / / / /_/ / / _ /_/ /
|
|
||||||
# /_/ /_/ \___//_/ /_/ /_/\____//_/ _\__, /
|
|
||||||
# /____/
|
|
||||||
#
|
|
||||||
[memory_usage]
|
[memory_usage]
|
||||||
threshold = 75
|
threshold = 75
|
||||||
symbol = "🐏 "
|
symbol = "🐏 "
|
||||||
@ -415,12 +246,6 @@ style = "bold dimmed white"
|
|||||||
format = "via $symbol [${ram}( | ${swap})]($style) "
|
format = "via $symbol [${ram}( | ${swap})]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ______ ___ _____ ______
|
|
||||||
# ___ |/ /_____________________ ___________(_)_____ ___ /
|
|
||||||
# __ /|_/ /_ _ \_ ___/ ___/ / / /_ ___/_ /_ __ `/_ /
|
|
||||||
# _ / / / / __/ / / /__ / /_/ /_ / _ / / /_/ /_ /
|
|
||||||
# /_/ /_/ \___//_/ \___/ \__,_/ /_/ /_/ \__,_/ /_/
|
|
||||||
#
|
|
||||||
[hg_branch]
|
[hg_branch]
|
||||||
truncation_length = 9223372036854775807
|
truncation_length = 9223372036854775807
|
||||||
truncation_symbol = "..."
|
truncation_symbol = "..."
|
||||||
@ -429,24 +254,12 @@ style = "bold purple"
|
|||||||
format = "on [$symbol$branch]($style) "
|
format = "on [$symbol$branch]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _____ ______
|
|
||||||
# ___ | / /__(_)______ ___
|
|
||||||
# __ |/ /__ /__ __ `__ \
|
|
||||||
# _ /| / _ / _ / / / / /
|
|
||||||
# /_/ |_/ /_/ /_/ /_/ /_/
|
|
||||||
#
|
|
||||||
[nim]
|
[nim]
|
||||||
symbol = "👑 "
|
symbol = "👑 "
|
||||||
style = "bold yellow"
|
style = "bold yellow"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# _____ ______ ______ ___________
|
|
||||||
# ___ | / /__(_)___ __ __________ /_________ /__ /
|
|
||||||
# __ |/ /__ /__ |/_/________ ___/_ __ \ _ \_ /__ /
|
|
||||||
# _ /| / _ / __> < _/_____/(__ )_ / / / __/ / _ /
|
|
||||||
# /_/ |_/ /_/ /_/|_| /____/ /_/ /_/\___//_/ /_/
|
|
||||||
#
|
|
||||||
[nix_shell]
|
[nix_shell]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
impure_msg = "impure"
|
impure_msg = "impure"
|
||||||
@ -455,12 +268,6 @@ style = "bold blue"
|
|||||||
format = "via [$symbol$state( \\($name\\))]($style) "
|
format = "via [$symbol$state( \\($name\\))]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _____ __ _________ ________
|
|
||||||
# ___ | / /___________ /__________(_)_______
|
|
||||||
# __ |/ /_ __ \ __ /_ _ \____ /__ ___/
|
|
||||||
# _ /| / / /_/ / /_/ / / __/___ / _(__ )
|
|
||||||
# /_/ |_/ \____/\__,_/ \___/___ / /____/
|
|
||||||
# /___/
|
|
||||||
[nodejs]
|
[nodejs]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bold green"
|
style = "bold green"
|
||||||
@ -468,12 +275,6 @@ not_capable_style = "bold red"
|
|||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________ ______
|
|
||||||
# ___ __ \_____ _________ /_______ _______ _____
|
|
||||||
# __ /_/ / __ `/ ___/_ //_/ __ `/_ __ `/ _ \
|
|
||||||
# _ ____// /_/ // /__ _ ,< / /_/ /_ /_/ // __/
|
|
||||||
# /_/ \__,_/ \___/ /_/|_| \__,_/ _\__, / \___/
|
|
||||||
# /____/
|
|
||||||
[package]
|
[package]
|
||||||
display_private = true
|
display_private = true
|
||||||
symbol = "📦 "
|
symbol = "📦 "
|
||||||
@ -481,49 +282,24 @@ style = "bold 208"
|
|||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________________ ______
|
|
||||||
# __ __ \_ ____/_____ _______ ______ /
|
|
||||||
# _ / / / / _ __ `/_ __ `__ \_ /
|
|
||||||
# / /_/ // /___ / /_/ /_ / / / / / /
|
|
||||||
# \____/ \____/ \__,_/ /_/ /_/ /_//_/
|
|
||||||
#
|
|
||||||
[ocaml]
|
[ocaml]
|
||||||
symbol = "🐫 "
|
symbol = "🐫 "
|
||||||
style = "bold yellow"
|
style = "bold yellow"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ________ ______
|
|
||||||
# ___ __ \______________ /
|
|
||||||
# __ /_/ / _ \_ ___/_ /
|
|
||||||
# _ ____// __/ / _ /
|
|
||||||
# /_/ \___//_/ /_/
|
|
||||||
#
|
|
||||||
[perl]
|
[perl]
|
||||||
symbol = "🐪 "
|
symbol = "🐪 "
|
||||||
style = "bold 149"
|
style = "bold 149"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ______________ _________
|
|
||||||
# ___ __ \__ / / /__ __ \
|
|
||||||
# __ /_/ /_ /_/ /__ /_/ /
|
|
||||||
# _ ____/_ __ / _ ____/
|
|
||||||
# /_/ /_/ /_/ /_/
|
|
||||||
#
|
|
||||||
[php]
|
[php]
|
||||||
symbol = "🐘 "
|
symbol = "🐘 "
|
||||||
style = "147 bold"
|
style = "147 bold"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________ ___________
|
|
||||||
# ___ __ \____ ___ /___ /______________
|
|
||||||
# __ /_/ /_ / / / __/_ __ \ __ \_ __ \
|
|
||||||
# _ ____/_ /_/ // /_ _ / / / /_/ / / / /
|
|
||||||
# /_/ _\__, / \__/ /_/ /_/\____//_/ /_/
|
|
||||||
# /____/
|
|
||||||
#
|
|
||||||
[python]
|
[python]
|
||||||
python_binary = "python3"
|
python_binary = "python3"
|
||||||
pyenv_version_name = false
|
pyenv_version_name = false
|
||||||
@ -534,36 +310,18 @@ style = "yellow bold"
|
|||||||
format = "via [${symbol}${pyenv_prefix}${version}( \\($virtualenv\\))]($style) "
|
format = "via [${symbol}${pyenv_prefix}${version}( \\($virtualenv\\))]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________ ______
|
|
||||||
# ___ __ \___ ____ /______ __
|
|
||||||
# __ /_/ / / / /_ __ \_ / / /
|
|
||||||
# _ _, _// /_/ /_ /_/ / /_/ /
|
|
||||||
# /_/ |_| \__,_/ /_.___/_\__, /
|
|
||||||
# /____/
|
|
||||||
[ruby]
|
[ruby]
|
||||||
symbol = "💎 "
|
symbol = "💎 "
|
||||||
style = "bold red"
|
style = "bold red"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________ _____
|
|
||||||
# ___ __ \___ __________ /_
|
|
||||||
# __ /_/ / / / /_ ___/ __/
|
|
||||||
# _ _, _// /_/ /_(__ )/ /_
|
|
||||||
# /_/ |_| \__,_/ /____/ \__/
|
|
||||||
#
|
|
||||||
[rust]
|
[rust]
|
||||||
symbol = "🦀 "
|
symbol = "🦀 "
|
||||||
style = "bold red"
|
style = "bold red"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# _____________ __________ _______
|
|
||||||
# __ ___/__ / / /__ /__ | / /__ /
|
|
||||||
# _____ \__ /_/ /__ / __ | / /__ /
|
|
||||||
# ____/ /_ __ / _ /____ |/ / _ /___
|
|
||||||
# /____/ /_/ /_/ /_____/____/ /_____/
|
|
||||||
#
|
|
||||||
[shlvl]
|
[shlvl]
|
||||||
threshold = 2
|
threshold = 2
|
||||||
symbol = " "
|
symbol = " "
|
||||||
@ -571,37 +329,18 @@ style = "bold yellow"
|
|||||||
format = "[$symbol$shlvl]($style) "
|
format = "[$symbol$shlvl]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ____________ ______ __________
|
|
||||||
# __ ___/__(_)_____________ ____ ____ /_____ __________(_)_ /_____ __
|
|
||||||
# _____ \__ /__ __ \_ __ `/ / / /_ /_ __ `/_ ___/_ /_ __/_ / / /
|
|
||||||
# ____/ /_ / _ / / / /_/ // /_/ /_ / / /_/ /_ / _ / / /_ _ /_/ /
|
|
||||||
# /____/ /_/ /_/ /_/_\__, / \__,_/ /_/ \__,_/ /_/ /_/ \__/ _\__, /
|
|
||||||
# /____/ /____/
|
|
||||||
#
|
|
||||||
[singularity]
|
[singularity]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bold dimmed blue"
|
style = "bold dimmed blue"
|
||||||
format = "[$symbol\\[$env\\]]($style) "
|
format = "[$symbol\\[$env\\]]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ________ _________________
|
|
||||||
# __ ___/__ ____(_)__ __/_ /_
|
|
||||||
# _____ \__ | /| / /_ /__ /_ _ __/
|
|
||||||
# ____/ /__ |/ |/ /_ / _ __/ / /_
|
|
||||||
# /____/ ____/|__/ /_/ /_/ \__/
|
|
||||||
#
|
|
||||||
[swift]
|
[swift]
|
||||||
symbol = "ﯣ "
|
symbol = "ﯣ "
|
||||||
style = "bold 202"
|
style = "bold 202"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ____________ _____
|
|
||||||
# __ ___/_ /______ __ /____ _________
|
|
||||||
# _____ \_ __/ __ `/ __/ / / /_ ___/
|
|
||||||
# ____/ // /_ / /_/ // /_ / /_/ /_(__ )
|
|
||||||
# /____/ \__/ \__,_/ \__/ \__,_/ /____/
|
|
||||||
#
|
|
||||||
[status]
|
[status]
|
||||||
symbol = "💣 "
|
symbol = "💣 "
|
||||||
not_executable_symbol = "🚫"
|
not_executable_symbol = "🚫"
|
||||||
@ -614,24 +353,12 @@ style = "bold red"
|
|||||||
format = "[$symbol$status]($style) "
|
format = "[$symbol$status]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ________ ________
|
|
||||||
# ___ __/________________________ ___ __/___________________ ___
|
|
||||||
# __ / _ _ \_ ___/_ ___/ __ `/_ /_ _ __ \_ ___/_ __ `__ \
|
|
||||||
# _ / / __/ / _ / / /_/ /_ __/ / /_/ / / _ / / / / /
|
|
||||||
# /_/ \___//_/ /_/ \__,_/ /_/ \____//_/ /_/ /_/ /_/
|
|
||||||
#
|
|
||||||
[terraform]
|
[terraform]
|
||||||
symbol = "ﯟ "
|
symbol = "ﯟ "
|
||||||
style = "bold 105"
|
style = "bold 105"
|
||||||
format = "via [$symbol$version$workspace]($style) "
|
format = "via [$symbol$version$workspace]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# ____________
|
|
||||||
# ___ __/__(_)______ ________
|
|
||||||
# __ / __ /__ __ `__ \ _ \
|
|
||||||
# _ / _ / _ / / / / / __/
|
|
||||||
# /_/ /_/ /_/ /_/ /_/\___/
|
|
||||||
#
|
|
||||||
[time]
|
[time]
|
||||||
use_12hr = false
|
use_12hr = false
|
||||||
time_format = "%T"
|
time_format = "%T"
|
||||||
@ -641,12 +368,6 @@ style = "bold yellow"
|
|||||||
format = "at 🕙 [$time]($style) "
|
format = "at 🕙 [$time]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# _____ __
|
|
||||||
# __ / / /_______________________________ _______ ________
|
|
||||||
# _ / / /__ ___/ _ \_ ___/_ __ \ __ `/_ __ `__ \ _ \
|
|
||||||
# / /_/ / _(__ )/ __/ / _ / / / /_/ /_ / / / / / __/
|
|
||||||
# \____/ /____/ \___//_/ /_/ /_/\__,_/ /_/ /_/ /_/\___/
|
|
||||||
#
|
|
||||||
[username]
|
[username]
|
||||||
show_always = false
|
show_always = false
|
||||||
style_user = "bold yellow"
|
style_user = "bold yellow"
|
||||||
@ -654,37 +375,18 @@ style_root = "bold red"
|
|||||||
format = "[$user]($style) in "
|
format = "[$user]($style) in "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ___ __ _____
|
|
||||||
# __ | / /_____ _______ _____________ _________ /_
|
|
||||||
# __ | / /_ __ `/_ __ `/_ ___/ __ `/_ __ \ __/
|
|
||||||
# __ |/ / / /_/ /_ /_/ /_ / / /_/ /_ / / / /_
|
|
||||||
# _____/ \__,_/ _\__, / /_/ \__,_/ /_/ /_/\__/
|
|
||||||
# /____/
|
|
||||||
#
|
|
||||||
[vagrant]
|
[vagrant]
|
||||||
symbol = "⍱ "
|
symbol = "⍱ "
|
||||||
style = "cyan bold"
|
style = "cyan bold"
|
||||||
format = "via [$symbol($version)]($style) "
|
format = "via [$symbol($version)]($style) "
|
||||||
disabled = true
|
disabled = true
|
||||||
|
|
||||||
# __________
|
|
||||||
# ___ /__(_)______ _
|
|
||||||
# __ /__ /__ __ `/
|
|
||||||
# _ /__ / _ /_/ /
|
|
||||||
# /____/_/ _\__, /
|
|
||||||
# /____/
|
|
||||||
[zig]
|
[zig]
|
||||||
symbol = "↯ "
|
symbol = "↯ "
|
||||||
style = "bold yellow"
|
style = "bold yellow"
|
||||||
format = "via [$symbol$version]($style) "
|
format = "via [$symbol$version]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
# ________ _____ _____
|
|
||||||
# ___ __ \___ ____________________________________(_)_________ /_
|
|
||||||
# __ /_/ / / / /_ ___/ _ \_ ___/ ___/_ ___/_ /___ __ \ __/
|
|
||||||
# _ ____// /_/ /_ / / __/(__ )/ /__ _ / _ / __ /_/ / /_
|
|
||||||
# /_/ \__,_/ /_/ \___//____/ \___/ /_/ /_/ _ .___/\__/
|
|
||||||
# /_/
|
|
||||||
[purescript]
|
[purescript]
|
||||||
symbol = "<=> "
|
symbol = "<=> "
|
||||||
style = "bold white"
|
style = "bold white"
|
||||||
|
@ -1,9 +1,3 @@
|
|||||||
" ___ ______________
|
|
||||||
" __ | / /__(_)__ __/______ ___
|
|
||||||
" __ | / /__ /__ /_ __ __ `__ \
|
|
||||||
" __ |/ / _ / _ __/ _ / / / / /
|
|
||||||
" _____/ /_/ /_/ /_/ /_/ /_/
|
|
||||||
"
|
|
||||||
" Command used to edit files in various contexts. The default is vim.
|
" Command used to edit files in various contexts. The default is vim.
|
||||||
" If you would like to use another vi clone such as Elvis or Vile
|
" If you would like to use another vi clone such as Elvis or Vile
|
||||||
" you will need to change this setting.
|
" you will need to change this setting.
|
||||||
|
@ -1,12 +1,3 @@
|
|||||||
// =================================================
|
|
||||||
// ___ __ ______
|
|
||||||
// __ | / /_____ _____ ____ /_______ ________
|
|
||||||
// __ | /| / /_ __ `/_ / / /_ __ \ __ `/_ ___/
|
|
||||||
// __ |/ |/ / / /_/ /_ /_/ /_ /_/ / /_/ /_ /
|
|
||||||
// ____/|__/ \__,_/ _\__, / /_.___/\__,_/ /_/
|
|
||||||
// /____/
|
|
||||||
// =================================================
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
// ---------------------------------
|
// ---------------------------------
|
||||||
|
@ -1,12 +1,3 @@
|
|||||||
// =================================================
|
|
||||||
// ___ __ ______
|
|
||||||
// __ | / /_____ _____ ____ /_______ ________
|
|
||||||
// __ | /| / /_ __ `/_ / / /_ __ \ __ `/_ ___/
|
|
||||||
// __ |/ |/ / / /_/ /_ /_/ /_ /_/ / /_/ /_ /
|
|
||||||
// ____/|__/ \__,_/ _\__, / /_.___/\__,_/ /_/
|
|
||||||
// /____/
|
|
||||||
// =================================================
|
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
// ---------------------------------
|
// ---------------------------------
|
||||||
|
@ -153,8 +153,6 @@ zinit light hlissner/zsh-autopair
|
|||||||
|
|
||||||
# Git thingy
|
# Git thingy
|
||||||
zinit light wfxr/forgit
|
zinit light wfxr/forgit
|
||||||
# zinit light kazhala/dotbare
|
|
||||||
# zinit light unixorn/git-extra-commands
|
|
||||||
|
|
||||||
# Abbreviations
|
# Abbreviations
|
||||||
zinit light olets/zsh-abbr
|
zinit light olets/zsh-abbr
|
||||||
@ -171,10 +169,4 @@ zinit light olets/zsh-abbr
|
|||||||
# Plugins' configurations
|
# Plugins' configurations
|
||||||
source $ZDOTDIR/plugins.zsh
|
source $ZDOTDIR/plugins.zsh
|
||||||
|
|
||||||
# _________ __________
|
|
||||||
# __ ____/__________________ /___(_)_____________ _
|
|
||||||
# _ / __ __ ___/ _ \ _ \ __/_ /__ __ \_ __ `/
|
|
||||||
# / /_/ / _ / / __/ __/ /_ _ / _ / / / /_/ /
|
|
||||||
# \____/ /_/ \___/\___/\__/ /_/ /_/ /_/_\__, /
|
|
||||||
# /____/
|
|
||||||
$HOME/.local/bin/bunny
|
$HOME/.local/bin/bunny
|
||||||
|
@ -10,7 +10,6 @@ alias mv="mv -vi"
|
|||||||
alias rm="rm -vr"
|
alias rm="rm -vr"
|
||||||
alias mkdir="mkdir -pv"
|
alias mkdir="mkdir -pv"
|
||||||
alias no="grep -viP"
|
alias no="grep -viP"
|
||||||
# alias latest_pkg="expac --timefmt='%Y-%m-%d %T' '%l\t%n' | sort | tail -n 30"
|
|
||||||
alias yarn="yarn --use-yarnrc $HOME/.config/yarn/config"
|
alias yarn="yarn --use-yarnrc $HOME/.config/yarn/config"
|
||||||
alias tmux="TERM=screen-256color tmux"
|
alias tmux="TERM=screen-256color tmux"
|
||||||
# colorizing
|
# colorizing
|
||||||
|
50
home/.local/share/bash/plugins/prompt.bash
Normal file
50
home/.local/share/bash/plugins/prompt.bash
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# get current branch in git repo
|
||||||
|
parse_git_branch() {
|
||||||
|
BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/')
|
||||||
|
if [ ! "${BRANCH}" = "" ]
|
||||||
|
then
|
||||||
|
STAT=$(parse_git_dirty)
|
||||||
|
echo "${BRANCH}${STAT}"
|
||||||
|
else
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# get current status of git repo
|
||||||
|
parse_git_dirty() {
|
||||||
|
status=$(git status 2>&1 | tee)
|
||||||
|
dirty=$(echo -n "${status}" 2> /dev/null | grep "modified:" &> /dev/null; echo "$?")
|
||||||
|
untracked=$(echo -n "${status}" 2> /dev/null | grep "Untracked files" &> /dev/null; echo "$?")
|
||||||
|
ahead=$(echo -n "${status}" 2> /dev/null | grep "Your branch is ahead of" &> /dev/null; echo "$?")
|
||||||
|
newfile=$(echo -n "${status}" 2> /dev/null | grep "new file:" &> /dev/null; echo "$?")
|
||||||
|
renamed=$(echo -n "${status}" 2> /dev/null | grep "renamed:" &> /dev/null; echo "$?")
|
||||||
|
deleted=$(echo -n "${status}" 2> /dev/null | grep "deleted:" &> /dev/null; echo "$?")
|
||||||
|
bits=''
|
||||||
|
if [ "${ahead}" = "0" ]; then
|
||||||
|
bits="*${bits}"
|
||||||
|
fi
|
||||||
|
if [ "${renamed}" = "0" ]; then
|
||||||
|
bits=">${bits}"
|
||||||
|
fi
|
||||||
|
if [ "${newfile}" = "0" ]; then
|
||||||
|
bits="+${bits}"
|
||||||
|
fi
|
||||||
|
if [ "${untracked}" = "0" ]; then
|
||||||
|
bits="?${bits}"
|
||||||
|
fi
|
||||||
|
if [ "${deleted}" = "0" ]; then
|
||||||
|
bits="x${bits}"
|
||||||
|
fi
|
||||||
|
if [ "${dirty}" = "0" ]; then
|
||||||
|
bits="!${bits}"
|
||||||
|
fi
|
||||||
|
if [ ! "${bits}" = "" ]; then
|
||||||
|
echo " ${bits}"
|
||||||
|
else
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\]╭─[\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \$(if [[ \$? == 0 ]]; then echo \"\[$(tput setaf 2)\]\342\234\223\"; else echo \"\[$(tput setaf 1)\]\342\234\227\"; fi)\[$(tput setaf 1)\]] \[$(tput setaf 5)\]\w \[$(tput setaf 2)\]\`parse_git_branch\`\n\[$(tput setaf 1)\]╰\[$(tput sgr0)\] "
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
echo "Version of greenclip: " | tr -d '\n' # 3.4
|
echo "Version of greenclip: " | tr -d '\n' # 4.0
|
||||||
read -r version
|
read -r version
|
||||||
|
|
||||||
curl -fLo greenclip https://github.com/erebe/greenclip/releases/download/${version}/greenclip
|
curl -fLo greenclip https://github.com/erebe/greenclip/releases/download/${version}/greenclip
|
||||||
|
Loading…
Reference in New Issue
Block a user