From b6b8f018a4ab02d6b23abe65f65e78fbcb60ced6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 10 Mar 2020 19:01:14 +0100 Subject: [PATCH] add run_on_load functionality --- .zsh/zshrc/99-prefill_prompt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zsh/zshrc/99-prefill_prompt b/.zsh/zshrc/99-prefill_prompt index 0b2562e..21555be 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 -- 2.39.2