From 26b19d40a14af6770bc4e570b6e6ecf5b0095993 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 31 May 2018 04:00:26 +0300 Subject: .bashrc: don't export PS1 dash (and possibly other shells) inherit this one and break. --- %HOME%/.bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '%HOME%') 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 -- cgit v1.2.3