mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Merge pull request #149 from dmitmel/master
[pull] master from dmitmel:master
This commit is contained in:
commit
0ec9d1ded1
1 changed files with 6 additions and 0 deletions
6
scripts/tmux-attach-or-new.sh
Executable file
6
scripts/tmux-attach-or-new.sh
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
if tmux has-session; then
|
||||
exec tmux attach
|
||||
else
|
||||
exec tmux new
|
||||
fi
|
Loading…
Reference in a new issue