Base zsh configuration

This commit is contained in:
hybris
2014-09-27 20:25:26 +02:00
parent c14b923ab4
commit da0b93c4dd
9 changed files with 563 additions and 0 deletions

19
custom/hybris-display.zsh Normal file
View File

@@ -0,0 +1,19 @@
# Shut the f*ck up.
xset b off
# bip at command end
function precmd() {
echo -n -e "\a"
if [ "$TERM" != dumb ]; then echo -en "\033]0;${USER}@$(hostname)\007"; fi
}
# do not share history between terms...
unsetopt share_history
# "ctrl-x e" to edit command
autoload edit-command-line
zle -N edit-command-line
bindkey '^Xe' edit-command-line
# dir colors
eval `dircolors $HOME/.oh-my-zsh/custom/hybris-dir-colors`