2018-12-27 22:40:35 +00:00
|
|
|
# Check if running in TTY
|
2019-10-27 02:47:42 +00:00
|
|
|
if [ -z ${SSH_CONNECTION} ]; then
|
|
|
|
case $(tty) in
|
|
|
|
/dev/tty[2-9])
|
|
|
|
export TERM="xterm";
|
|
|
|
ZSH_THEME="dpoggi"; source $ZSHCONF/resources/dpoggi-timestamp.zsh-theme;
|
|
|
|
;;
|
|
|
|
/dev/pts/*)
|
|
|
|
export TERM="xterm-256color";
|
|
|
|
ZSH_THEME="powerlevel9k/powerlevel9k"; source $ZSHCONF/resources/powerlevel9k/powerlevel9k.zsh-theme;
|
|
|
|
#ZSH_THEME="spaceship"; source $ZSHCONF/resources/spaceship-prompt/spaceship.zsh-theme;
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "We did not recognize the terminal type you are currently using!"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
else
|
|
|
|
export TERM="xterm";
|
|
|
|
ZSH_THEME="dpoggi"; source $ZSHCONF/resources/dpoggi-timestamp.zsh-theme;
|
|
|
|
fi
|