From: Silvio Rhatto Date: Wed, 13 May 2020 14:09:48 +0000 (-0300) Subject: Fix: terminal: always use interactive mode for shell invocation X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d91fc04a56569e15b0c82f92542c59d5d9f7f306;p=utils-x11.git Fix: terminal: always use interactive mode for shell invocation --- diff --git a/terminal b/terminal index 43302a0..bbdbf7f 100755 --- a/terminal +++ b/terminal @@ -28,8 +28,12 @@ if [ ! -z "$FONT" ]; then fi # Set shell -#SH="bash -rcfile $HOME/.terminal" -SH="zsh" +# +# Always use interactive mode (--login or -i) to avoid weird behavior like +# one found with vim and NERDTree. +# +#SH="bash --login -i -rcfile $HOME/.terminal" +SH="zsh -i" # Dispatch if [ "$TERM" == "stterm" ]; then