Remove sourcing of Nix stuff
Darwin multi-user installation has mostly removed the need to have these.
This commit is contained in:
parent
486ca235fd
commit
638c7e2f03
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user