[zsh] minor changes

This commit is contained in:
Sami Samhuri 2011-08-13 09:00:27 -07:00
parent ee676ea1da
commit 57c2ec59c6

View file

@ -160,7 +160,7 @@ done
# 4. Terminal Settings # 4. Terminal Settings
# ==================== # ====================
function precmd { function precmd {
@ -182,7 +182,7 @@ bindkey '\ep' history-beginning-search-backward
# Load the prompt theme system # Load the prompt theme system
autoload -U promptinit autoload -U promptinit
promptinit promptinit
# Use my prompt theme, based on wunjo (zsh-git) # Use my prompt theme, based on wunjo (zsh-git)
prompt sjs prompt sjs
@ -222,7 +222,7 @@ alias whatismyip='curl http://www.whatismyip.com/automation/n09230945.asp'
alias rhino='java org.mozilla.javascript.tools.shell.Main' alias rhino='java org.mozilla.javascript.tools.shell.Main'
# ls Aliases # ls Aliases
# ---------------- # ----------------
if mac; then if mac; then
gls_path=`which gls` gls_path=`which gls`
@ -321,7 +321,7 @@ alias -g L='|$PAGER'
alias -g H='|head' alias -g H='|head'
alias -g T='|tail' alias -g T='|tail'
alias -g G='|grep' alias -g G='|grep'
alias -g SH='>/dev/null 2>&1' alias -g SH='>/dev/null 2>/dev/null'
alias -g BGD='& disown %1' alias -g BGD='& disown %1'