Compare commits
1 Commits
master
...
tmux/group
| Author | SHA1 | Date | |
|---|---|---|---|
| 960eec1a8d |
@ -15,7 +15,7 @@ set -g window-status-style 'bg=default'
|
|||||||
set -g window-status-current-style 'bg=white,fg=black bold'
|
set -g window-status-current-style 'bg=white,fg=black bold'
|
||||||
set -g window-status-format '#W#{?window_flags,#{window_flags}, }'
|
set -g window-status-format '#W#{?window_flags,#{window_flags}, }'
|
||||||
set -g window-status-current-format '#W#{?window_flags,#{window_flags}, }'
|
set -g window-status-current-format '#W#{?window_flags,#{window_flags}, }'
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity off
|
||||||
|
|
||||||
# window title style
|
# window title style
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
|
|||||||
@ -1,8 +1,14 @@
|
|||||||
# .zshrc by TheK4n
|
# .zshrc by TheK4n
|
||||||
# https://github.com/TheK4n/dotfiles
|
# https://github.com/TheK4n/dotfiles
|
||||||
|
|
||||||
|
TMUX_MAIN_SESSION="main"
|
||||||
|
|
||||||
if command -v tmux &>/dev/null && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
if command -v tmux &>/dev/null && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ]; then
|
||||||
exec tmux
|
if tmux has-session -t "$TMUX_MAIN_SESSION" &>/dev/null; then
|
||||||
|
exec tmux new-session -t "$TMUX_MAIN_SESSION"
|
||||||
|
else
|
||||||
|
exec tmux new-session -s "$TMUX_MAIN_SESSION"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$ZDOTDIR/sourcer" ]; then
|
if [ -f "$ZDOTDIR/sourcer" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user