]> arthur.barton.de Git - ax-zsh.git/blobdiff - core/99_cleanup/99_cleanup.zlogin
10_keyboard: Add C-x,C-p shortcut for "push-line"
[ax-zsh.git] / core / 99_cleanup / 99_cleanup.zlogin
index eb6debc26fb963802cce0c8687f2fdbbf6e4fba5..ce653616e6bf45e68bcb87bd11c2cd43e696bf31 100644 (file)
@@ -6,8 +6,9 @@ for func (
        ax_hostname_prompt_yn
        ax_logname_prompt_root
        ax_logname_prompt_yn
+       ax_prompt
 ); do
-       unfunction $func
+       unfunction $func 2>/dev/null
 done
 
 for func ($ax_logname_prompt_functions); do