]> arthur.barton.de Git - ax-zsh.git/blobdiff - core/11_terminal/11_terminal.zshrc
Keep $AXZSH variable in axttyinfo alias
[ax-zsh.git] / core / 11_terminal / 11_terminal.zshrc
index 7b1214ca7a7191a7bbab02b4d9fbdafa9cbeebef..3990129368f10b44c800fbb280b9e49f5cfabef8 100644 (file)
@@ -47,6 +47,7 @@ function _axzsh_is_widechar_terminal {
 # 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
@@ -129,7 +130,7 @@ function axzsh_terminal_title_preexec {
 
 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