From b4d264eec7187b1a8a5783683c484850a44bb4ba Mon Sep 17 00:00:00 2001 From: Hendrik Jäger Date: Thu, 29 Dec 2022 10:10:18 +0100 Subject: add: function for reloading autoloaded functions --- .zsh_functions/autoreload | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .zsh_functions/autoreload 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 - $@ +} -- cgit v1.2.3