Remove sourcing of Nix stuff

Darwin multi-user installation has mostly removed the need to have
these.
This commit is contained in:
Andrew R. M 2017-09-07 06:13:15 -04:00
parent 486ca235fd
commit 638c7e2f03
2 changed files with 1 additions and 14 deletions

View File

@ -21,9 +21,3 @@ fi
if [ -f "$HOME/.private_functions" ] && [ -r "$HOME/.private_functions" ]; then
. "$HOME/.private_functions"
fi
# Source completion
if [ -f "$HOME/.nix-profile/etc/profile.d/bash_completion.sh" ] && \
[ -r "$HOME/.nix-profile/etc/profile.d/bash_completion.sh" ]; then
. "$HOME/.nix-profile/etc/profile.d/bash_completion.sh"
fi

View File

@ -10,7 +10,7 @@ no_color="\[\033[0m\]"
# Secondary prompt: (> )
# Primary prompt is magenta on local machines, red on remote hosts
case $(hostname) in
pebble|stone|rock|boulder)
point|line|triangle|square|pentagon)
export PS1="${magenta}\$${no_color} "
export PS2="${red}>${no_color} "
;;
@ -52,10 +52,3 @@ fi
export HISTFILE="$HOME/.history/sh"
export HISTSIZE=10000
#{- SOURCING -}#
# Source nix profile configuration
if [ -f "$HOME/.nix-profile/etc/profile.d/nix.sh" ] \
&& [ -r "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
fi