tmux: autoattach in .bach_extra ausgelagert
This commit is contained in:
parent
5a9f68519a
commit
16ae883794
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue