Remove debug-y lines from zsh envfile

This commit is contained in:
TEC 2023-11-19 02:09:44 +08:00
parent 5de9912cf7
commit e158adb8d0
Signed by: tec
SSH Key Fingerprint: SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1ftBr6jamutnXc/A
1 changed files with 2 additions and 6 deletions

View File

@ -40,18 +40,14 @@ fi
. "''$Z4H"/z4h.zsh || return
setopt rcs
' > "$ZDOTDIR"/.zshenv
echo "--zshenv--"
cat "$ZDOTDIR"/.zshenv
echo '
echo '
zstyle ':z4h:' auto-update 'no'
${(lib.strings.concatMapStringsSep "\n" (plg: "z4h install " + plg) plugins)}
z4h init
${(lib.strings.concatMapStringsSep "\n" (plg: "z4h load " + plg) plugins)}
' > "''$ZDOTDIR"/.zshrc
echo "--zshrc--"
cat "$ZDOTDIR"/.zshrc
echo "--running--"
zsh -i -l -c 'exit'
sh -c 'printf "-z4h-compinit-impl\n"; sleep 1; printf "echo 2\n"' | zsh -l
'';
installPhase = ''