aboutsummaryrefslogtreecommitdiff
path: root/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'terminal')
-rwxr-xr-xterminal6
1 files changed, 6 insertions, 0 deletions
diff --git a/terminal b/terminal
index 7e37c26..baadc43 100755
--- a/terminal
+++ b/terminal
@@ -35,6 +35,12 @@ fi
#SH="bash --login -i -rcfile $HOME/.terminal"
SH="zsh -i"
+# Set a custom zsh config folder if commands are specified, to speed up startup
+if [ ! -z "$1" ]; then
+ mkdir -p ~/.custom/terminal
+ export ZDOTDIR="~/.custom/terminal"
+fi
+
# Dispatch
if [ "$TERM" == "stterm" ]; then
if [ ! -z "$1" ]; then