shell -> bash -> exec: Execute tmux on start

This commit is contained in:
GaspardCulis 2024-06-01 03:13:28 +02:00
parent 07b4a81141
commit 8a4185b387
No known key found for this signature in database
GPG key ID: BC18146756955609

View file

@ -1,5 +1,9 @@
#!/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
jaaj
fi