All of my important config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
764 B

if [ "light" = "$THEME_SWITCHER" ]; then
ZSH_THEME="sunrise"
else
ZSH_THEME="agnoster"
fi
HIST_STAMPS="dd.mm.yyyy"
COMPLETION_WAITING_DOTS="true"
export EDITOR="vim"
export goschneider="$HOME/go/src/git.webschneider.org"
source $HOME/.dotfiles/zsh/aliases.zsh
# Shell completion for gulp
if hash gulp 2&> /dev/null; then
eval "$(gulp --completion=zsh)"
fi
# fzf settings
if hash ag 2&> /dev/null; then
# Use ag instead of find and exclude .gitignored files
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
}