Sat, 17 Feb 2018 02:10:10 -0500
move
--- a/.bashrc +++ b/.bashrc @@ -5,7 +5,7 @@ if [ -f ~/.bashrc.dist ]; then source ~/.bashrc.dist fi -source ~/.bashrc.lib +source ~/.lib/bash/path.sh path-prepend "$HOME/bin"
rename from .bashrc.lib rename to .lib/bash/path.sh --- a/.bashrc.lib +++ b/.lib/bash/path.sh @@ -1,5 +1,3 @@ -# vim: ft=sh - path-append() { if [ -d "$1" ] && [[ ":$PATH:" != *":$1:"* ]]; then PATH="${PATH:+"$PATH:"}$1" @@ -15,4 +13,3 @@ path-prepend() { fi return 1 } -