Merge remote-tracking branch 'origin/master'

This commit is contained in:
Eryn Wells 2013-03-24 18:52:55 -07:00
commit f63a42f19f
2 changed files with 2 additions and 1 deletions

View file

@ -22,6 +22,7 @@ set -g mode-keys vi
set -g repeat-time 0
# No left status; right status bar is session name
set -g status-bg black
set -g status-left ""
set -g status-left-bg black
set -g status-left-fg brightblue

View file

@ -12,7 +12,7 @@ print_heading -l 1 'Initializing login shell'
list_tmux_sessions()
{
tmux_out=`tmux list-sessions 2>/dev/null`
[[ -z "$tmux_out" ]] && return
[[ -z "$tmux_out" || -n "$TMUX" ]] && return
echo "You have the following active tmux sessions:"
for session in ${(f)tmux_out}; do