mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
updated
This commit is contained in:
parent
14efa80cab
commit
86209ebcf1
2 changed files with 2 additions and 2 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit f6700648a3186a1a1cc7d004df7ef14953272c81
|
Subproject commit a90d89277c4bbd363d6929f434eef633bea439f5
|
||||||
|
|
@ -36,7 +36,7 @@ in
|
||||||
|
|
||||||
# Auto-start tmux only on local TTY (not SSH, not in tmux already)
|
# Auto-start tmux only on local TTY (not SSH, not in tmux already)
|
||||||
programs.bash.profileExtra = mkIf (!wm.enable) ''
|
programs.bash.profileExtra = mkIf (!wm.enable) ''
|
||||||
if [[ $- == *i* ]] && [ -z "$DISPLAY" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -z "$SSH_CONNECTION" ]; then
|
if [ -t 0 ] && [[ $- == *i* ]] && [ -z "$DISPLAY" ] && [ -z "$TMUX" ] && [ -z "$SSH_TTY" ] && [ -z "$SSH_CONNECTION" ]; then
|
||||||
exec tmux
|
exec tmux
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue