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.

39 lines
919 B

if zrcautoload promptinit && promptinit 2>/dev/null ; then
source ~/.zsh/prompt_tba_setup
prompt_themes+=( tba )
prompt_themes=( "${(@on)prompt_themes}" )
prompt tba
else
print '-!- Notice: no promptinit available :('
fi
source $HOME/.zsh/commands
source $HOME/.zsh/programs
case "$MTYPE" in
"PC")
source $HOME/.zsh/commands-pc
;;
"SERVER")
source $HOME/.zsh/commands-server
;;
esac
if [ -f "$HOME/.zsh/rbenv" -a -d "$HOME/.rbenv" ] ; then
source $HOME/.zsh/rbenv
fi
if [ -d "$HOME/bin" ] ; then
export PATH="$PATH:$HOME/bin"
fi
if [ -f "/usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] ; then
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
else
printf "-!- zsh-syntax-highlighting not installed!"
fi
# completion
zstyle ':completion:*:*:kill:*:processes' command "ps -u $USER -o pid,user,comm,args -w -w"
export EDITOR='vim'