]> arthur.barton.de Git - ax-zsh.git/commit
Don't load themes and ext. plugins on "dumb" terminals
authorAlexander Barton <alex@barton.de>
Mon, 20 Nov 2017 23:28:47 +0000 (00:28 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 20 Nov 2017 23:29:11 +0000 (00:29 +0100)
commit0812611b4afc9be26a8485c49ca4e3d884c168ca
treea51ab0efc54d8177f941eb017035f297d8c83eb4
parent164e33941f8f50b9ead5148905f1bd046a0f352f
Don't load themes and ext. plugins on "dumb" terminals

These external (and modern?) plugins most probably don't expect such an
unusual old terminal configuration and don't behave well (echo color
sequences, for example). Therefore we DON'T load any external plugins at
all when running on such a terminal: this results in reduced/disabled
functionality, but hopefully in readable output ...

And the same is true for any themes, included or external: we disable
them and fallback to an included very simple but sane default prompt.
ax.zsh
core/90_theme/90_theme.zshrc