aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2018-05-31 04:00:26 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2018-05-31 04:00:26 +0300
commit26b19d40a14af6770bc4e570b6e6ecf5b0095993 (patch)
tree3e758bb6073f054727416981a34ae37698145bd7 /%HOME%
parentadd .xsessionrc (diff)
downloadlinux-home-26b19d40a14af6770bc4e570b6e6ecf5b0095993.tar.gz
linux-home-26b19d40a14af6770bc4e570b6e6ecf5b0095993.zip
.bashrc: don't export PS1
dash (and possibly other shells) inherit this one and break.
Diffstat (limited to '%HOME%')
-rw-r--r--%HOME%/.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 9807e6d..2b39b94 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -3,7 +3,7 @@ case "$-" in
*) return ;;
esac
-export PS1="\[\e[1;32m\]\h\[\e[m\] \[\e[1;34m\]\W\[\e[m\] # \[$(tput sgr0)\]"
+PS1="\[\e[1;32m\]\h\[\e[m\] \[\e[1;34m\]\W\[\e[m\] # \[$(tput sgr0)\]"
# `echo "!)"` doesn't work otherwise (namely, in third-party scripts):
set +o histexpand