# Test for "modern" terminal
function axzsh_is_modern_terminal {
[[ "$TERM" = cygwin ]] && return 0
+ [[ "$TERM" = putty* ]] && return 0
[[ "$TERM" = screen* ]] && return 0
[[ "$TERM" = tmux* ]] && return 0
[[ "$TERM" = xterm* ]] && return 0
preexec_functions+=(axzsh_terminal_title_preexec)
-alias axttyinfo="nocorrect zsh $AXZSH/bin/axttyinfo"
+alias axttyinfo="zsh \"\$AXZSH/bin/axttyinfo\""
axzsh_is_dumb_terminal && return 0