From b4d264eec7187b1a8a5783683c484850a44bb4ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hendrik=20J=C3=A4ger?= Date: Thu, 29 Dec 2022 10:10:18 +0100 Subject: [PATCH] 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 - $@ +} -- 2.39.2