mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 19:36:13 +01:00
tmux session enhanced
This commit is contained in:
@@ -40,7 +40,7 @@ in {
|
|||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
if [ -x "$(command -v tmux)" ] && [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
|
if [ -x "$(command -v tmux)" ] && [ -n "$DISPLAY" ] && [ -z "$TMUX" ]; then
|
||||||
# exec tmux new-session -A -s $USER >/dev/null 2>&1
|
# exec tmux new-session -A -s $USER >/dev/null 2>&1
|
||||||
exec tmux new-session
|
exec tmux new -AD -t main -s main
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user