File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ include /usr/lib/git-core/git-sh-prompt; include /usr/lib/git/git-sh-prompt; inc
6060include $CODE /scripts/bash/utils.sh
6161
6262# scripted behavior
63- if [[ -z " $TMUX " && -z $TERM_PROGRAM && -z " $SKIP_AUTO_TMUX " && (" $SSH_CONNECTION " ! = " " || -f " /etc/wsl.conf" ) ]]; then initbash; fi
63+ if [[ -z " $TMUX " && -z " $SKIP_AUTO_TMUX " && " $TERM_PROGRAM " == " WezTerm " && (-n " $SSH_CONNECTION " || -f " /etc/wsl.conf" ) ]]; then initbash; fi
6464if [[ " $SSH_CONNECTION " != " " ]]; then trap " kill -9 $( pidof ssh-agent) &>/dev/null" 0; fi
6565
6666# key binds
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ include () {
2929}
3030
3131initbash () {
32- if ping -q -w 1 -c 1 1.1.1.1 > /dev/null; then git -C $DOTFILES pull; fi ; tx
32+ cd ~ && if ping -q -w 1 -c 1 1.1.1.1 > /dev/null; then git -C $DOTFILES pull; fi ; tx
3333}
3434
3535gsubrm () {
You can’t perform that action at this time.
0 commit comments