From afe4761023215da107f9f24cffb8d2798bcaa466 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 13 Mar 2016 10:59:05 +0800 Subject: _profile: change PATH order --- _profile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_profile b/_profile index 6ff3dcc..ffdd0d7 100644 --- a/_profile +++ b/_profile @@ -13,14 +13,14 @@ ### PATH +# local installed (python) packages +if [ -d "$HOME/.local/bin" ]; then + export PATH="$HOME/.local/bin:$PATH" +fi # ~/bin if [ -d "$HOME/bin" ]; then export PATH="$HOME/bin:$PATH" fi -# local installed (python) packages -if [ -d "$HOME/.local/bin" ]; then - export PATH="$PATH:$HOME/.local/bin" -fi # admin if groups | grep -qE '\b(wheel|adm|sudo)\b'; then export PATH="$PATH:/usr/local/sbin:/usr/sbin:/sbin" -- cgit v1.2.2