aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xterminal8
1 files 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