diff options
Diffstat (limited to '_zsh/40-hooks.zsh')
-rw-r--r-- | _zsh/40-hooks.zsh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/_zsh/40-hooks.zsh b/_zsh/40-hooks.zsh deleted file mode 100644 index da15a29..0000000 --- a/_zsh/40-hooks.zsh +++ /dev/null @@ -1,19 +0,0 @@ -# -# zsh/hooks.zsh -# -# Credit: http://chneukirchen.org/dotfiles/.zshrc -# - -case "$TERM" in -xterm*|rxvt*) - function precmd() { - [[ -t 1 ]] && print -Pn "\e]0;%m: %~\a" - } - function preexec() { - [[ -t 1 ]] && print -n "\e]0;$HOST: ${(q)1//(#m)[$'\000-\037\177-']/${(q)MATCH}}\a" - } - ;; -esac - - -# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=zsh: # |