From 9029d9c56f736653430667e9d29023803917fd34 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 13 Nov 2014 23:45:22 -0800 Subject: [PATCH] Add support for dumb terminals in bash and zsh. --- dotfiles/lib/bash/prompt.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dotfiles/lib/bash/prompt.sh b/dotfiles/lib/bash/prompt.sh index fc86f30f..ea369602 100644 --- a/dotfiles/lib/bash/prompt.sh +++ b/dotfiles/lib/bash/prompt.sh @@ -68,3 +68,9 @@ function set_bash_prompt() { export PROMPT_COMMAND=set_bash_prompt PS2='(%_) ' + +case "$TERM" in + dumb) + export PS1='> ' + ;; +esac