From: martin f. krafft Date: Thu, 19 May 2022 08:34:53 +0000 (+0200) Subject: Escape zsh run on load code X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/7dce7e6f21351832f6e926d8a4f1edf767c2e47e?ds=inline;hp=c3da6fd36611ed2f8f251f07262830b21b2a562b Escape zsh run on load code --- diff --git a/.zsh/zshrc/99-prefill_prompt b/.zsh/zshrc/99-prefill_prompt index 21555be..8c18a1a 100644 --- a/.zsh/zshrc/99-prefill_prompt +++ b/.zsh/zshrc/99-prefill_prompt @@ -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