Add private directories to /home/julien/scripts:/usr/local/sbin:/usr/local/bin:/usr...
authorJulien Valroff <julien@kirya.net>
Mon, 29 Jul 2019 17:01:31 +0000 (19:01 +0200)
committerJulien Valroff <julien@kirya.net>
Mon, 29 Jul 2019 17:01:31 +0000 (19:01 +0200)
.bashrc

diff --git a/.bashrc b/.bashrc
index b488fcc..3ceff38 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -115,3 +115,6 @@ if ! shopt -oq posix; then
     . /etc/bash_completion
   fi
 fi
+
+[ -d ~/scripts ] && PATH=~/scripts:${PATH}
+[ -d ~/bin ] && PATH=~/bin:${PATH}