Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
only report on tmux sessions when i am not already *in* a tmux session
Browse files Browse the repository at this point in the history
  • Loading branch information
jzacsh committed Nov 20, 2015
1 parent bc7305d commit e30b58c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ fi

#Tmux
scowerForTmuxSessions() {
[ -n "$TMUX" ] && return

local col_end='\033[0m'; local col_grn='\e[0;32m'
local commonTmSocks=(default main "${USER}main")
for sock in "${commonTmSocks[@]}"; do
Expand Down

0 comments on commit e30b58c

Please sign in to comment.