]> arthur.barton.de Git - ax-zsh.git/blob - core/10_terminal/10_terminal.zprofile
ssh_macos: Don't error out when no SSH agent is available
[ax-zsh.git] / core / 10_terminal / 10_terminal.zprofile
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