diff options
Diffstat (limited to '.zsh_functions')
-rw-r--r-- | .zsh_functions | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.zsh_functions b/.zsh_functions index feb0616..181d4ba 100644 --- a/.zsh_functions +++ b/.zsh_functions @@ -67,3 +67,12 @@ function henkspngpostproc () { pngnq -f -d resized/pngnqed -e .png resized/$img done } + +function with () { + local prefix="$* " str compcontext=normal:normal:_normal + while : + do + str=$prefix + vared str && eval $str + done +} |