diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-05-31 04:00:26 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-05-31 04:00:26 +0300 |
commit | 26b19d40a14af6770bc4e570b6e6ecf5b0095993 (patch) | |
tree | 3e758bb6073f054727416981a34ae37698145bd7 | |
parent | add .xsessionrc (diff) | |
download | linux-home-26b19d40a14af6770bc4e570b6e6ecf5b0095993.tar.gz linux-home-26b19d40a14af6770bc4e570b6e6ecf5b0095993.zip |
.bashrc: don't export PS1
dash (and possibly other shells) inherit this one and break.
-rw-r--r-- | %HOME%/.bashrc | 2 |
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 |