new aliases

This commit is contained in:
Locojay 2011-05-20 00:24:02 -04:00
commit 24a4894f0e
2 changed files with 3 additions and 4 deletions

View file

@ -49,8 +49,7 @@ alias lsbom='lsbom -f -l -s -pf'
#alias v.='vim .' #alias v.='vim .'
#alias v='vim ~/.vimrc' #alias v='vim ~/.vimrc'
#alias VS='vim -S Session.vim' #alias VS='vim -S Session.vim'
alias top='htop' alias zs='source ~/.zshrc'
alias zs='source ~/.zshrc; source ~/.zshenv'
if [[ -x "${commands[htop]}" ]]; then if [[ -x "${commands[htop]}" ]]; then
@ -80,4 +79,4 @@ alias S="screen $screenrc -U -S"
[[ "$TERM" == 'xterm-256color' && -e "$HOME/.tmux256.conf" ]] && tmuxconf="-f '$HOME/.tmux256.conf'" [[ "$TERM" == 'xterm-256color' && -e "$HOME/.tmux256.conf" ]] && tmuxconf="-f '$HOME/.tmux256.conf'"
alias tmux="tmux $tmuxconf" alias tmux="tmux $tmuxconf"
alias tls="tmux list-sessions" alias tls="tmux list-sessions"
alias ta="tmux attach -t"

2
zshrc
View file

@ -22,7 +22,7 @@ MODE_INDICATOR="%{$fg_bold[cyan]%}-- CMD MODE -- $R"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git git-flow gem brew vi-mode pip osx) plugins=(git git-flow gem brew vi-mode pip osx syntax-highlighting extract)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# Customize to your needs... # Customize to your needs...