aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc.d/prompt2
-rw-r--r--flake.nix3
2 files changed, 1 insertions, 4 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\] "
diff --git a/flake.nix b/flake.nix
index 83c6d6a..83e73b6 100644
--- a/flake.nix
+++ b/flake.nix
@@ -27,9 +27,6 @@
installShellCompletion --zsh --name "$${comp##*/}" "$comp"
done
'';
- shellHook = commonrc + bashrc + ''
- export _SHELLRC=develop
- '';
};
default = shellrc-completion;
};