]> arthur.barton.de Git - ax-zsh.git/blob - core/11_terminal/11_terminal.ax-io
1ddb802cd2433b3cb2cebe9497632a7c4fe5b5c6
[ax-zsh.git] / core / 11_terminal / 11_terminal.ax-io
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # 10_terminal.zprofile: Initialize terminal settings
3
4 # Use tset(1) to validate TERM when stdin as a tty. Explicitly set SHELL to
5 # /bin/sh to force tset to output sh-compliant commands even when SHELL was not
6 # set correctly or for an other shell.
7 [[ -t 0 ]] && eval `SHELL=/bin/sh tset -Is -m "dec-vt52:vt52"`
8
9 # Is TERM still unset?
10 [[ -z "$TERM" ]] && TERM="dumb"
11
12 export TERM