diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-12-29 10:10:18 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2022-12-29 10:10:18 +0100 |
commit | b4d264eec7187b1a8a5783683c484850a44bb4ba (patch) | |
tree | 682380f71138bcc9af2be068416d3bba4f5ff547 /.zsh_functions | |
parent | 30f0a9b9e58ff74d0e8797fb9f2b1439bed7c409 (diff) |
add: function for reloading autoloaded functions
Diffstat (limited to '.zsh_functions')
-rw-r--r-- | .zsh_functions/autoreload | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.zsh_functions/autoreload b/.zsh_functions/autoreload new file mode 100644 index 0000000..59d7272 --- /dev/null +++ b/.zsh_functions/autoreload @@ -0,0 +1,4 @@ +autoreload () { + unfunction - $@ + autoload -Uz +X - $@ +} |