From 2825fe0b91dc8f8abb318c83b85f893c35852e69 Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Sun, 7 Oct 2018 13:54:13 -0400 Subject: saving desktop config for reinstall --- .bashrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.bashrc') diff --git a/.bashrc b/.bashrc index e067da8..c202a34 100644 --- a/.bashrc +++ b/.bashrc @@ -18,6 +18,7 @@ match_lhs="" && match_lhs=$(dircolors --print-database) if [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] ; then + # we have colors :-) # Enable colors for ls, etc. Prefer ~/.dir_colors @@ -33,7 +34,7 @@ else # show root@ when we do not have colors - PS1="\u@\h \w \$([[ \$? != 0 ]] && echo \"!\")\$ " + PS1="\u@\h \w \$([[ \$? != 0 ]] && echo \"! \")\$ " # Use this other PS1 string if you want \W for root and \w for all other users: # PS1="\u@\h $(if [[ ${EUID} == 0 ]]; then echo '\W'; else echo '\w'; fi) \$([[ \$? != 0 ]] && echo \":( \")\$ " @@ -44,8 +45,6 @@ alias dir="dir --color=auto" alias grep="grep --color=auto" alias dmesg='dmesg --color' -export EDITOR=vim - PS1="$(if [[ ${EUID} == 0 ]]; then echo '\[\033[01;31m\]\h'; else echo '\[\033[01;32m\]\u@\h'; fi)\[\033[01;34m\] \w \$([[ \$? != 0 ]] && echo \"\[\033[01;31m\]!\[\033[01;34m\] \")\\$\[\033[00m\] " #PS1='[\u@\h \W]\$ ' unset safe_term match_lhs -- cgit v1.2.3-70-g09d2