From 221bea3542e302db3ff87637046bb736a89b3c45 Mon Sep 17 00:00:00 2001 From: Akelge Date: Mon, 3 Mar 2014 11:27:15 +0000 Subject: [PATCH] Add actual fancyTerm functiond definition :/ --- zsh/zsh.d/zshfunctions/fancyTerm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 zsh/zsh.d/zshfunctions/fancyTerm 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 :