]> arthur.barton.de Git - ax-zsh.git/blobdiff - core/99_cleanup/99_cleanup.zlogin
99_cleanup: Suppress error messages of "unfunction"
[ax-zsh.git] / 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