diff --git a/home-manager/personal_config/bashrc b/home-manager/personal_config/bashrc index fb68a0d..bcf4bde 100644 --- a/home-manager/personal_config/bashrc +++ b/home-manager/personal_config/bashrc @@ -2,8 +2,6 @@ # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples -export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH - # If not running interactively, don't do anything case $- in *i*) ;; @@ -49,12 +47,12 @@ esac if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes + # We have color support; assume it's compliant with Ecma-48 + # (ISO/IEC-6429). (Lack of such support is extremely rare, and such + # a case would tend to support setf rather than setaf.) + color_prompt=yes else - color_prompt= + color_prompt= fi fi diff --git a/home-manager/work_config/bashrc b/home-manager/work_config/bashrc index d7af680..d29d9c9 100644 --- a/home-manager/work_config/bashrc +++ b/home-manager/work_config/bashrc @@ -2,10 +2,6 @@ # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples -export NIX_PATH=$HOME/.nix-defexpr/channels${NIX_PATH:+:}$NIX_PATH -export EDITOR=vim -PATH="$HOME/.local/bin:$PATH" - # If not running interactively, don't do anything case $- in *i*) ;; @@ -51,12 +47,12 @@ esac if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then - # We have color support; assume it's compliant with Ecma-48 - # (ISO/IEC-6429). (Lack of such support is extremely rare, and such - # a case would tend to support setf rather than setaf.) - color_prompt=yes + # We have color support; assume it's compliant with Ecma-48 + # (ISO/IEC-6429). (Lack of such support is extremely rare, and such + # a case would tend to support setf rather than setaf.) + color_prompt=yes else - color_prompt= + color_prompt= fi fi