add hook for termux
This commit is contained in:
parent
af6ae8dd0c
commit
f9c16cc297
5
install-hooks/termux/post-install
Executable file
5
install-hooks/termux/post-install
Executable file
@ -0,0 +1,5 @@
|
||||
cat > "$HOME/.config/bash/bashrc.d/01_tmux.sh" << EOF
|
||||
if command -v tmux 1>/dev/null && [[ -z "\$TMUX" ]] && [[ ! "\$TERM" =~ tmux ]]; then
|
||||
exec tmux new
|
||||
fi
|
||||
EOF
|
||||
Loading…
x
Reference in New Issue
Block a user