mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Compare commits
16 commits
f288247671
...
0ec9d1ded1
Author | SHA1 | Date | |
---|---|---|---|
|
0ec9d1ded1 | ||
|
871aa910da | ||
|
3f7c26f124 | ||
|
f35f14dba6 | ||
|
e81d4d3faa | ||
|
56ed052f85 | ||
|
124221d1e3 | ||
|
707397ae9e | ||
|
f79ed65e0c | ||
|
abde79fbf7 | ||
|
1a1b27fa65 | ||
|
5e5eb4d39f | ||
|
9b15d6e155 | ||
|
d42428538c | ||
|
b751287736 | ||
|
f62df4016d |
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…
Add table
Add a link
Reference in a new issue