commit 0ddd05694effe2c90e60e19ecbac10039a93af34
parent 3964a02e1c085afe53a6b7e2390fa865600d762c
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 15 Jun 2019 14:44:29 +0200
Attempt to fix error message on first tmux session start
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.tmux.conf b/.tmux.conf
@@ -48,7 +48,7 @@ bind -r -n M-t set -g status
bind -r t set -g status
# Hide status bar if there is only one window
-if -F "#{==:#{session_windows},1}" "set status off" "set status on"
+if -F "#{==:#{session_windows},1}" "set -g status off" "set -g status on"
set-hook -g window-linked 'if -F "#{==:#{session_windows},1}" "set status off" "set status on"'
set-hook -g window-unlinked 'if -F "#{==:#{session_windows},1}" "set status off" "set status on"'