From 07e82b27f7382c3d5c7e3fafbb25eaf7f25d934c Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Thu, 28 Jul 2011 16:01:32 -0400 Subject: [PATCH] Removed unneeded aliases since Lion's Terminal supports 256 colours. --- functions/alias.zsh | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/functions/alias.zsh b/functions/alias.zsh index bde89ca8..2622aee9 100644 --- a/functions/alias.zsh +++ b/functions/alias.zsh @@ -95,26 +95,8 @@ if [[ "$DISABLE_COLOR" != 'true' ]]; then fi # Terminal Multiplexer -# ------------------------------------------------------------------------------ -if [[ "$TERM" == *256color* ]]; then - if [[ -e "$HOME/.screenrc256" ]]; then - screenrc="-c '$HOME/.screenrc256'" - 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 +alias sl="screen -list" +alias sr="screen -a -A -U -D -R" +alias sn="screen -U -S" +alias tl="tmux list-sessions"