mirror of
https://github.com/akelge/zsh
synced 2025-07-03 05:05:28 +00:00
Readd fancyTerm and add completion for stern
This commit is contained in:
11
zsh.d/zshfunctions/fancyTerm
Normal file
11
zsh.d/zshfunctions/fancyTerm
Normal file
@ -0,0 +1,11 @@
|
||||
fancyterms=('xterm' 'rxvt' 'screen')
|
||||
|
||||
for t in $fancyterms; do
|
||||
if [ "${TERM#${t}}" != "$TERM" ]; then
|
||||
unset fancyterms
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
unset fancyterms
|
||||
return 1
|
Reference in New Issue
Block a user