summaryrefslogtreecommitdiff
path: root/debian/zshrc
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2012-03-04 16:39:04 +0100
committerFrank Terbeck <ft@bewatermyfriend.org>2012-03-04 16:39:04 +0100
commit3988419a8dc4a74e491df584804a77a2f8be88cd (patch)
tree96263263c6306f73df539e1d70f7fb53f6b64f53 /debian/zshrc
parentddca9789b91aaed7dbb9c846a5a865c6cba2ad47 (diff)
downloadzsh-3988419a8dc4a74e491df584804a77a2f8be88cd.tar.gz
zsh-3988419a8dc4a74e491df584804a77a2f8be88cd.zip
Use stricter options with autoload
-U suppresses alias expansion while the function is loaded. And -z forces zsh-style autoloading semantics (instead of the optional ksh-style, which someone could have set in a files that is sourced earlier than the zshrc file). Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
Diffstat (limited to 'debian/zshrc')
-rw-r--r--debian/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/zshrc b/debian/zshrc
index 5eb80b94c..4a0bfb44f 100644
--- a/debian/zshrc
+++ b/debian/zshrc
@@ -85,4 +85,4 @@ zstyle ':completion:*:sudo:*' command-path /usr/local/sbin \
/usr/X11R6/bin
(( ${+aliases[run-help]} )) && unalias run-help
-autoload run-help
+autoload -Uz run-help