From 44ea2c5d8940df1d99ebbf8a0a7548b330cbe3c3 Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sat, 31 Mar 2012 17:43:49 +0300 Subject: [PATCH] bashrc & zshrc: Add $HOME/.local to $PATH. 1. "python setup.py install --user" installs to .local. 2. Run command "ls /usr/local && ls ~/.local" and compare the two lines. Output of the second command is > bin etc games include lib man sbin share src > share for me. --- bashrc | 2 +- zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bashrc b/bashrc index 2637736b..1d043921 100644 --- a/bashrc +++ b/bashrc @@ -169,7 +169,7 @@ fi #export TZ="/usr/share/zoneinfo/Europe/Helsinki" # Sets PATH. To add another path, add : to string below. -PATH=$PATH +PATH=$PATH:$HOME/.local/bin # Sets web-browser. #export BROWSER=lynx diff --git a/zshrc b/zshrc index d725319a..eedc2473 100644 --- a/zshrc +++ b/zshrc @@ -95,7 +95,7 @@ fi #export TZ="/usr/share/zoneinfo/Europe/Helsinki" # Sets PATH. To add another path, add : to string below. -PATH=$PATH +PATH=$PATH:$HOME/.local/bin # Sets web-browser. #export BROWSER=lynx