diff options
| author | Silvio Rhatto <rhatto@riseup.net> | 2025-12-25 15:40:49 -0300 |
|---|---|---|
| committer | Silvio Rhatto <rhatto@riseup.net> | 2025-12-25 15:40:49 -0300 |
| commit | 3cda66bbb6966c69471d87599c440f9c2945364d (patch) | |
| tree | 9165960fb4e6f88057d283f232b7c8b25618ca89 /terminal | |
| parent | e6379b5e2db43d8ca72f0e7313de45b63bfef9bc (diff) | |
| download | utils-x11-master.tar.gz utils-x11-master.tar.bz2 | |
Fix: terminal: set a custom zsh config folder if commands are specified, to speed up startupHEADmaster
Diffstat (limited to 'terminal')
| -rwxr-xr-x | terminal | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |
