tmux: autoattach in .bach_extra ausgelagert

This commit is contained in:
Michael Grote 2022-06-11 14:15:25 +02:00
parent 5a9f68519a
commit 16ae883794

View file

@ -1,4 +1,9 @@
#!/bin/bash #!/bin/bash
### tmux auto attach
if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then
tmux attach -t default || tmux new -s default
fi
### PS1 ### PS1
# git-symbole: * unstaged, + staged, $ stashed, % untracked # git-symbole: * unstaged, + staged, $ stashed, % untracked
export GIT_PS1_SHOWUNTRACKEDFILES=1 export GIT_PS1_SHOWUNTRACKEDFILES=1