Do not bind keys on dumb terminals.

This commit is contained in:
Sorin Ionescu 2011-10-10 21:25:53 -04:00
parent b2a9cad2e9
commit 5e49591fb1

View file

@ -1,3 +1,8 @@
# Dumb terminals lack support.
if [[ "$TERM" == 'dumb' ]]; then
return
fi
# The default styles. # The default styles.
zstyle ':prompt:' vicmd '<<<' # Indicator to notify of vi command mode. zstyle ':prompt:' vicmd '<<<' # Indicator to notify of vi command mode.
zstyle ':prompt:' completion "..." # Indicator to notify of generating completion. zstyle ':prompt:' completion "..." # Indicator to notify of generating completion.