diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2021-10-22 22:39:06 +0200 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2021-10-22 22:39:06 +0200 |
commit | 97e0461b3938abc7cf0cff770a87c1f0c90ec507 (patch) | |
tree | 0bda3ab96d477e058830e2a4bfeda43457be21df /.zsh_functions.file | |
parent | a9c1c1fb6bc039ffc1dc87b244f7987f7e10aa67 (diff) |
autoload functions part 1
Diffstat (limited to '.zsh_functions.file')
-rw-r--r-- | .zsh_functions.file | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.zsh_functions.file b/.zsh_functions.file new file mode 100644 index 0000000..45e1e79 --- /dev/null +++ b/.zsh_functions.file @@ -0,0 +1,8 @@ +function with () { + local prefix="$* " str compcontext=normal:normal:_normal + while : + do + str=$prefix + vared str && eval $str + done +} |