Browse Source

Removed unneeded aliases since Lion's Terminal supports 256 colours.

master
Sorin Ionescu 14 years ago
parent
commit
a54974864c
  1. 26
      functions/alias.zsh

26
functions/alias.zsh

@ -95,26 +95,8 @@ if [[ "$DISABLE_COLOR" != 'true' ]]; then
fi fi
# Terminal Multiplexer # Terminal Multiplexer
# ------------------------------------------------------------------------------ alias sl="screen -list"
if [[ "$TERM" == *256color* ]]; then alias sr="screen -a -A -U -D -R"
if [[ -e "$HOME/.screenrc256" ]]; then alias sn="screen -U -S"
screenrc="-c '$HOME/.screenrc256'" alias tl="tmux list-sessions"
tmuxconf="-f '$HOME/.tmux256.conf'"
fi
else
if [[ -e "$HOME/.screenrc" ]]; then
screenrc="-c '$HOME/.screenrc'"
tmuxconf="-f '$HOME/.tmux.conf'"
fi
fi
alias screen="screen $screenrc"
alias sl="screen $screenrc -list"
alias sr="screen $screenrc -a -A -U -D -R"
alias S="screen $screenrc -U -S"
if (( ${+commands[tmux]} )); then
alias tmux="tmux $tmuxconf"
alias tls="tmux list-sessions"
fi

Loading…
Cancel
Save