summaryrefslogtreecommitdiff
path: root/etc/functions/reload
diff options
context:
space:
mode:
Diffstat (limited to 'etc/functions/reload')
-rwxr-xr-xetc/functions/reload3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/functions/reload b/etc/functions/reload
index 4783854..afa634f 100755
--- a/etc/functions/reload
+++ b/etc/functions/reload
@@ -3,8 +3,7 @@
## Usage: reload [function names]
if [[ ${#*} == 0 ]] {
- autoload xsource
- xsource ~/.zshrc
+ source ~/.zshrc
rehash
} else {
local function