update
This commit is contained in:
parent
767403f684
commit
0e5c58d387
2 changed files with 7 additions and 3 deletions
4
.zshrc
4
.zshrc
|
|
@ -24,7 +24,9 @@ if command -v tmux &> /dev/null && [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTer
|
|||
if tmux has-session -t $session_name; then
|
||||
tmux attach -t $session_name
|
||||
else
|
||||
tmux new -s $session_name
|
||||
tmux new-session -s $session_name -c $cwd -d
|
||||
tmux send-keys -t $session_name "tmux set-option status off;clear" Enter
|
||||
tmux attach -t $session_name
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue