summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-02-15 16:30:16 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-02-15 16:30:16 +0100
commit76d167649a30d9d4369e69b96a1499b7a570ffe3 (patch)
tree4a6d39a7990a0d80efb68c99776dd927b31b19db /etc
parentedf5e8653fed248b9f5abe9bf6ce2d0bc80570bc (diff)
reload: Also do a rehash
Diffstat (limited to 'etc')
-rwxr-xr-xetc/functions/reload1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/functions/reload b/etc/functions/reload
index a97cb70..4783854 100755
--- a/etc/functions/reload
+++ b/etc/functions/reload
@@ -5,6 +5,7 @@
if [[ ${#*} == 0 ]] {
autoload xsource
xsource ~/.zshrc
+ rehash
} else {
local function
for function in $@; {