]> arthur.barton.de Git - ax-zsh.git/commitdiff
99_cleanup: Suppress error messages of "unfunction"
authorAlexander Barton <alex@barton.de>
Tue, 3 Nov 2015 14:33:55 +0000 (15:33 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 3 Nov 2015 14:33:55 +0000 (15:33 +0100)
core/99_cleanup/99_cleanup.zlogin

index b38939b28bbc6b2616eebee77d703fe18b9c00f1..ce653616e6bf45e68bcb87bd11c2cd43e696bf31 100644 (file)
@@ -8,7 +8,7 @@ for func (
        ax_logname_prompt_yn
        ax_prompt
 ); do
-       unfunction $func
+       unfunction $func 2>/dev/null
 done
 
 for func ($ax_logname_prompt_functions); do