aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc.sh6
-rw-r--r--bash/colors.sh2
2 files changed, 1 insertions, 7 deletions
diff --git a/bash/bashrc.sh b/bash/bashrc.sh
index 3ee3df6..e46d8d7 100644
--- a/bash/bashrc.sh
+++ b/bash/bashrc.sh
@@ -20,12 +20,6 @@ source $DOTFILES/encrypted/env.sh
set -h
source ~/dev/nu/nucli/nu.bashcompletion
-# Here's the place to do custom nix-shell config
-if [[ -z $IN_NIX_SHELL ]]; then
- printf ""
-else
- printf ""
-fi
# FIXME
isLinux && {
diff --git a/bash/colors.sh b/bash/colors.sh
index 47019fd..dde3dd7 100644
--- a/bash/colors.sh
+++ b/bash/colors.sh
@@ -103,7 +103,7 @@ if [ $? -eq 0 ]; then \
echo `git status` | grep -v "Changes" | grep -E "to update your local branch" > /dev/null 2>&1 && echo "'$IBlue'"$(__git_ps1 " [v%sv]")"'$Color_Off'"; \
echo `git status` | grep -v "Changes" | grep -E -v "to publish|update your local branch" > /dev/null 2>&1 && echo "'$Green'"$(__git_ps1 " (%s)")"'$Color_Off'"; \
)" - $(echo "'$IBlack'"`git sha7`"'$Color_Off'"); \
-fi)$(if [[ $IN_NIX_SHELL == 1 ]]; then\
+fi)$(if [[ $IN_NIX_SHELL != "" ]]; then\
echo "\n'$IBlack'~>'$Color_Off' '$Purple'nix-shell'$Color_Off' ('$BIBlue'$name'$Color_Off')'$Color_Off'" ;\
fi)$(echo "\n'$BIPurple'\$'$Color_Off' ";)'