X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/5dc4d9aa8c7835d46aeb8afc2123c5e344a58df4..32ea2277195ebd8c244f37285f64b135e6ba4d9e:/.zsh/zshrc/99-prefill_prompt diff --git a/.zsh/zshrc/99-prefill_prompt b/.zsh/zshrc/99-prefill_prompt new file mode 100644 index 0000000..0b2562e --- /dev/null +++ b/.zsh/zshrc/99-prefill_prompt @@ -0,0 +1,15 @@ +# +# Allow prefilling of the prompt buffer +# +# Copyright © 1994–2019 martin f. krafft +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: http://git.madduck.net/v/etc/zsh.git +# + +if [[ -n "$ZSH_PREFILL_CMD" ]]; then + print -z - $ZSH_PREFILL_CMD + unset ZSH_PREFILL_CMD +fi + +# vim:ft=zsh