From: Silvio Rhatto Date: Thu, 25 Dec 2025 18:40:49 +0000 (-0300) Subject: Fix: terminal: set a custom zsh config folder if commands are specified, to speed... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3cda66bbb6966c69471d87599c440f9c2945364d;p=utils-x11.git Fix: terminal: set a custom zsh config folder if commands are specified, to speed up startup --- 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