zshrc: Keeping check_com() defined after zshrcs are sourced
authorFrank Terbeck <ft@grml.org>
Wed, 13 Feb 2008 18:19:24 +0000 (19:19 +0100)
committerFrank Terbeck <ft@grml.org>
Wed, 13 Feb 2008 18:19:24 +0000 (19:19 +0100)
That way, everything in our zshrc can use that function.
...like dchange() already does, which I must have overseen.

etc/zsh/zshrc

index 57af69f..9a89178 100644 (file)
@@ -194,7 +194,7 @@ xcat() {
 # setup files. This should be called at the end of .zshrc.
 xunfunction() {
     local -a funcs
-    funcs=(check_com salias xcat xsource xunfunction zrcautoload)
+    funcs=(salias xcat xsource xunfunction zrcautoload)
 
     for func in $funcs ; do
         [[ -n ${functions[$func]} ]] \