]> arthur.barton.de Git - ax-zsh.git/blobdiff - bin/axzshctl
axzshctl: Show hint how to restart the shell when enabling AX-ZSH
[ax-zsh.git] / bin / axzshctl
index 34e22d2d02f8e039d703816110b806f4c342b253..2ff71fae6c622a7a84efecc4ff6ccae27eee4bae 100755 (executable)
@@ -104,6 +104,10 @@ function EnableAXZSH {
                ln -s "$AXZSH/ax.zsh" "$f" \
                        || ax_error "Failed to create symbolic link for \"$f\"!"
        done
+       if [[ -z "$AXZSH_FPATH" ]]; then
+               echo "AX-ZSH was enabled. Now you should restart your shell, for example like this:"
+               echo "$ exec -l \"\$SHELL\""
+       fi
 }
 
 function DisableAXZSH {