]> arthur.barton.de Git - ax-zsh.git/blobdiff - plugins/powerline-shell/powerline-shell.zshrc
Fix handling of legacy terminal types
[ax-zsh.git] / plugins / powerline-shell / powerline-shell.zshrc
index 7a4873f77589c3a91dfb8d0d984a5f6cf70185af..b57c467e5b1a4df11637ef587f9dfc412939c9d0 100644 (file)
@@ -1,7 +1,7 @@
 # AX-ZSH: Alex' Modular ZSH Configuration
 # powerline-shell.zshrc: "powerline-shell" integration.
 
-[[ "$TERM" = "linux" ]] && return 911
+axzsh_is_modern_terminal || return 91
 
 if [[ -z "$POWERLINE_SHELL" ]]; then
        for p (