|
|
@ -1,4 +1,8 @@ |
|
|
|
ZSH_THEME="agnoster" |
|
|
|
if [ "light" = "$THEME_SWITCHER" ]; then |
|
|
|
ZSH_THEME="sunrise" |
|
|
|
else |
|
|
|
ZSH_THEME="agnoster" |
|
|
|
fi |
|
|
|
HIST_STAMPS="dd.mm.yyyy" |
|
|
|
COMPLETION_WAITING_DOTS="true" |
|
|
|
|
|
|
@ -19,3 +23,14 @@ if hash ag 2&> /dev/null; then |
|
|
|
export FZF_DEFAULT_COMMAND='ag -g ""' |
|
|
|
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND" |
|
|
|
fi |
|
|
|
|
|
|
|
swth() |
|
|
|
{ |
|
|
|
if [ "$THEME_SWITCHER" = "light" ]; then |
|
|
|
unset THEME_SWITCHER |
|
|
|
source ~/.zshrc |
|
|
|
else |
|
|
|
export THEME_SWITCHER="light" |
|
|
|
source ~/.zshrc |
|
|
|
fi |
|
|
|
} |