dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit dba95b14860c2b15cd5b0e885ee9e260929662c3
parent dc81345ff6b8b187415002d263c9c803a0d95936
Author: Chris Bracken <chris@bracken.jp>
Date:   Thu, 24 Sep 2015 22:56:14 -0700

(hack) On OS X, short-circuit out of /proc/ check if running iTerm.

Diffstat:
M.zshrc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.zshrc b/.zshrc @@ -52,8 +52,8 @@ fi unset color_prompt force_color_prompt if [[ "$COLORTERM" = "gnome-terminal" ]] || \ - [[ ${$(</proc/$PPID/cmdline):t} == gnome-terminal* ]] || \ - [[ "$TERM_PROGRAM" = "iTerm.app" ]]; then + [[ "$TERM_PROGRAM" = "iTerm.app" ]] || \ + [[ ${$(</proc/$PPID/cmdline):t} == gnome-terminal* ]]; then export TERM=xterm-256color fi