bashrc exec tmux
This commit is contained in:
parent
5464256578
commit
7942b79a61
@ -2,6 +2,10 @@
|
|||||||
# .bashrc by TheK4n
|
# .bashrc by TheK4n
|
||||||
# https://github.com/TheK4n/dotfiles
|
# https://github.com/TheK4n/dotfiles
|
||||||
|
|
||||||
|
if command -v tmux &>/dev/null && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ] && [ "$(tty)" != "/dev/tty3" ] && [[ -z "$SSH_CLIENT" ]]; then
|
||||||
|
exec tmux
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f "$HOME/.config/bash/sourcer" ]; then
|
if [ -f "$HOME/.config/bash/sourcer" ]; then
|
||||||
source $HOME/.config/bash/sourcer
|
source $HOME/.config/bash/sourcer
|
||||||
fi
|
fi
|
||||||
Loading…
x
Reference in New Issue
Block a user