aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorAlec Goncharow <alec.goncharow@gmail.com>2018-10-07 13:54:13 -0400
committerAlec Goncharow <alec.goncharow@gmail.com>2018-10-07 13:54:13 -0400
commit2825fe0b91dc8f8abb318c83b85f893c35852e69 (patch)
tree43cf9cb085692efb7038a7f728263276cae6e0d4 /.bashrc
parentdc3939e1d6ade0b378837e4f6b427273d4a5c227 (diff)
saving desktop config for reinstall
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc5
1 files changed, 2 insertions, 3 deletions
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