]> gitweb.fluxo.info Git - utils-x11.git/commitdiff
Fix: terminal: always use interactive mode for shell invocation
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 13 May 2020 14:09:48 +0000 (11:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 13 May 2020 14:09:48 +0000 (11:09 -0300)
terminal

index 43302a00aa355d390c69989199fddbe6b9bad35c..bbdbf7f8847176bab20c639a797b12575395ff11 100755 (executable)
--- 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