aboutsummaryrefslogtreecommitdiff
path: root/bashrc.d/prompt
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-06-20 12:07:04 +0200
committerKarel Kočí <cynerd@email.cz>2022-06-20 12:07:04 +0200
commit5076e819be1e4cdbd88abad7c6db313701cad461 (patch)
treed6d9d32e2cb46063cc3f1467cb57fab5de3e8351 /bashrc.d/prompt
parentf64e98b37125580992812c0dc1e96e6560792035 (diff)
downloadshellrc-5076e819be1e4cdbd88abad7c6db313701cad461.tar.gz
shellrc-5076e819be1e4cdbd88abad7c6db313701cad461.tar.bz2
shellrc-5076e819be1e4cdbd88abad7c6db313701cad461.zip
bashrc.d: do not use our own variable to detect develop
Diffstat (limited to 'bashrc.d/prompt')
-rw-r--r--bashrc.d/prompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc.d/prompt b/bashrc.d/prompt
index 39ea1f4..b039243 100644
--- a/bashrc.d/prompt
+++ b/bashrc.d/prompt
@@ -3,7 +3,7 @@
PS1='$(
if [ "$(id -u)" -eq "0" ]; then
echo -n "\[\e[1;31m\]\u@\h:\[\e[1;34m\]\W\[\e[1;31m\]\$\[\e[0m\] "
-elif [ "${_SHELLRC:-}" = "develop" ] || [ -n "${IN_NIX_SHELL}" ]; then
+elif [ -n "${IN_NIX_SHELL}" ]; then
echo -n "\[\e[1;33m\]\u@\h:\[\e[1;34m\]\W\[\e[1;33m\]\$\[\e[0m\] "
else
echo -n "\[\e[1;32m\]\u@\h:\[\e[1;34m\]\W\[\e[1;32m\]\$\[\e[0m\] "