From 638c7e2f03ad1cef203af65d7959f06ea2c52efd Mon Sep 17 00:00:00 2001 From: "Andrew R. M" Date: Thu, 7 Sep 2017 06:13:15 -0400 Subject: [PATCH] Remove sourcing of Nix stuff Darwin multi-user installation has mostly removed the need to have these. --- bash/.bashrc | 6 ------ sh/.profile | 9 +-------- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index dda8d22..abd173b 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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 diff --git a/sh/.profile b/sh/.profile index 91ed393..fe32d72 100644 --- a/sh/.profile +++ b/sh/.profile @@ -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