dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 524530dd09a6d1af52045612b4ae8f75d1343f00
parent 2984a0008d104a7b2f7c51bfb339e845e665651c
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon, 21 May 2018 06:12:29 -0400

Fix basic TERM checks

Diffstat:
M.bashrc | 2+-
M.zshrc | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.bashrc b/.bashrc @@ -12,7 +12,7 @@ GIT_PS1_SHOWDIRTYSTATE=1 GIT_PS1_SHOWUNTRACKEDFILES=1 source "$HOME/.local/lib/sh/git-prompt.sh" -if [ $TERM = linux ] && [ $TERM = cygwin ] +if [ $TERM = linux ] || [ $TERM = cygwin ] || [[ $TERM = vt* ]] then usercolor='\[\033[01;34m\]' else diff --git a/.zshrc b/.zshrc @@ -22,7 +22,7 @@ source "$HOME/.local/lib/sh/git-prompt.sh" autoload -Uz colors && colors -if [ $TERM = linux ] && [ $TERM = cygwin ] +if [ $TERM = linux ] || [ $TERM = cygwin ] || [[ $TERM = vt* ]] then usercolor="$fg_bold[blue]" else