diff --git a/zsh/zsh.d/zshfunctions/fancyTerm b/zsh/zsh.d/zshfunctions/fancyTerm new file mode 100644 index 0000000..8df1ad6 --- /dev/null +++ b/zsh/zsh.d/zshfunctions/fancyTerm @@ -0,0 +1,13 @@ +fancyterms=('xterm' 'rxvt' 'screen') + +for t in $fancyterms; do +if [ "${TERM#${t}}" != "$TERM" ]; then + unset fancyterms + return 0 +fi +done + +unset fancyterms +return 1 + +# vim: set ts=4 sw=4 tw=0 ft=zsh :