shell -> bash -> exec: Execute tmux on start
This commit is contained in:
parent
07b4a81141
commit
8a4185b387
1 changed files with 4 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
# Start in tmux by default
|
||||||
|
[[ $TERM != "screen" ]] && [ -z "$TMUX" ] && exec tmux
|
||||||
|
|
||||||
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
|
if command -v jaaj &> /dev/null && command -v dotacat &> /dev/null; then
|
||||||
jaaj
|
jaaj
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue