X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/32ea2277195ebd8c244f37285f64b135e6ba4d9e..51ac318a1294c0cc8a4eb2e5f8c647a2e2b7001f:/.zsh/zshrc/99-prefill_prompt diff --git a/.zsh/zshrc/99-prefill_prompt b/.zsh/zshrc/99-prefill_prompt index 0b2562e..8c18a1a 100644 --- a/.zsh/zshrc/99-prefill_prompt +++ b/.zsh/zshrc/99-prefill_prompt @@ -12,4 +12,9 @@ if [[ -n "$ZSH_PREFILL_CMD" ]]; then unset ZSH_PREFILL_CMD fi +if [[ -n "$ZSH_RUN_ON_LOAD" ]]; then + eval "$ZSH_RUN_ON_LOAD" + unset ZSH_RUN_ON_LOAD +fi + # vim:ft=zsh