Browse Source

tput probs

master
Taylor Bockman 4 years ago
parent
commit
3dede74c0b
  1. 4
      dotfiles/bash/bashrc

4
dotfiles/bash/bashrc

@ -157,6 +157,8 @@ fi
# ------------------------------------------ FORMATTING ------------------------------------------ # # ------------------------------------------ FORMATTING ------------------------------------------ #
if [[ $- == *i* ]]
then
# Better color handling so scrolling doesn't get broken. # Better color handling so scrolling doesn't get broken.
# Note for Cygwin you need ncurses for this to work. # Note for Cygwin you need ncurses for this to work.
reset=$(tput sgr0) reset=$(tput sgr0)
@ -177,6 +179,8 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
else else
export PS1='\[$bold\]\[$white\]\u@\h\[$reset\]: \[$bold\]\[$blue\]\w\[$reset\] \[$green\]$(parse_git_branch)\[$reset\]\[$bold\]\[$white\]⇨\[$reset\] ' export PS1='\[$bold\]\[$white\]\u@\h\[$reset\]: \[$bold\]\[$blue\]\w\[$reset\] \[$green\]$(parse_git_branch)\[$reset\]\[$bold\]\[$white\]⇨\[$reset\] '
fi fi
fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. # Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin" export PATH="$PATH:$HOME/.rvm/bin"

Loading…
Cancel
Save