Mercurial > ec-dotfiles
view zsh @ 68:d6e52e074962
Allow change title in zsh
author | Edho Prima Arief <me@myconan.net> |
---|---|
date | Sat, 21 May 2011 23:55:33 -0400 |
parents | 21e3f6ea5d59 |
children | c8c3e4bc4850 |
line wrap: on
line source
#!/usr/bin/env zsh [ -f "${HOME}/.ecos_zsh.before" ] && . "${HOME}/.ecos_zsh.before" case $TERM in xterm*|screen*) precmd () {print -Pn "\e]0;%n@%m: %~\a"} ;; esac PS1='[%n@%m %~]%% ' HISTFILE=~/.histfile HISTSIZE=10000 SAVEHIST=10000 setopt appendhistory nomatch unsetopt autocd beep extendedglob notify bindkey -e autoload -Uz compinit compinit alias ls='ls -F' [ -f "${HOME}/.ecos_zsh.after" ] && . "${HOME}/.ecos_zsh.after"