From d76584bf13a10234ad5414f1efbe5d82643bf46f Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sun, 18 Feb 2018 14:00:09 +0100 Subject: [PATCH] Add bin to path --- .bashrc | 6 ------ .config/bash/environ | 5 +++++ .profile | 5 ----- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.bashrc b/.bashrc index 4f1694e..ad4cbcf 100644 --- a/.bashrc +++ b/.bashrc @@ -8,11 +8,5 @@ for file in ${HOME}/.config/bash/*; do [ -f "$file" ] && . "$file"; done; -#export VIRTUALENVWRAPPER_PYTHON=`/usr/bin/env python3` -#. /mingw64/bin/virtualenvwrapper.sh - # last line [ -f ~/.bashrc_local ] && . ~/.bashrc_local -LS_COLORS="ow=01;36;40" && export LS_COLORS - -[ -f ~/.fzf.bash ] && source ~/.fzf.bash diff --git a/.config/bash/environ b/.config/bash/environ index a0d5c89..01b35e0 100644 --- a/.config/bash/environ +++ b/.config/bash/environ @@ -1,3 +1,8 @@ +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; diff --git a/.profile b/.profile index ac752e1..ed0fa38 100644 --- a/.profile +++ b/.profile @@ -10,8 +10,3 @@ umask 022 if [ -n "${BASH_VERSION}" ]; then [ -f "${HOME}/.bashrc" ] && . "${HOME}/.bashrc" fi - -# set path, environment, prompt etc -for file in ${HOME}/.config/profile/*.sh; do - [ -f "$file" ] && . "$file"; -done; -- 2.43.0