remove dupliacte options

This commit is contained in:
Andreas Zweili 2021-11-22 18:34:53 +01:00
parent 206859458e
commit 03e014fe30
2 changed files with 10 additions and 16 deletions

View File

@ -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

View File

@ -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