]> git.zndr.dk Git - dotfiles.git/commitdiff
Add bin to path
authorJannik ZANDER <jannikz@gmail.com>
Sun, 18 Feb 2018 13:00:09 +0000 (14:00 +0100)
committerJannik ZANDER <jannikz@gmail.com>
Sun, 18 Feb 2018 13:00:09 +0000 (14:00 +0100)
.bashrc
.config/bash/environ
.profile

diff --git a/.bashrc b/.bashrc
index 4f1694ed49ab46caff9cef6fd975a126cddbb857..ad4cbcfade4c8c18fcea66f7abf3ab4017bc585c 100644 (file)
--- 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
index a0d5c89773340e63b0ac21116d868d743cb24b09..01b35e069a99d5e11959a720a61688b4d11a957e 100644 (file)
@@ -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;;
index ac752e18b9f1b1cbe4fcf26779d461724e7277fd..ed0fa38adc1ee6c9189d4a1e86d9c7657022420b 100644 (file)
--- 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;