From d91fc04a56569e15b0c82f92542c59d5d9f7f306 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 13 May 2020 11:09:48 -0300 Subject: Fix: terminal: always use interactive mode for shell invocation --- terminal | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- cgit v1.2.3