]> git.madduck.net Git - etc/zsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Escape zsh run on load code
authormartin f. krafft <madduck@madduck.net>
Thu, 19 May 2022 08:34:53 +0000 (10:34 +0200)
committermartin f. krafft <madduck@madduck.net>
Thu, 19 May 2022 08:34:53 +0000 (10:34 +0200)
.zsh/zshrc/99-prefill_prompt

index 21555be48d43616347f2810eff6571e24b3987c8..8c18a1a88527fbfb2157e9786af2ac0bdcd22686 100644 (file)
@@ -13,7 +13,7 @@ if [[ -n "$ZSH_PREFILL_CMD" ]]; then
 fi
 
 if [[ -n "$ZSH_RUN_ON_LOAD" ]]; then
-  eval $ZSH_RUN_ON_LOAD
+  eval "$ZSH_RUN_ON_LOAD"
   unset ZSH_RUN_ON_LOAD
 fi