From a60ac933f0d9f58b860522c93c936f0d9a6a4676 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 15 Jan 2013 13:52:17 +0900 Subject: [PATCH] set PATH in bashrc if PATH is reinitialized unexpectedly --- bashrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bashrc b/bashrc index 7ce6011..3ec50ba 100755 --- a/bashrc +++ b/bashrc @@ -33,6 +33,11 @@ null ls --version && alias with_coreutils=true ################################# +if echo $PATH | grep "$HOME" >/dev/null 2&>1 +then + PATH="${PATH}:${HOME}/.local/bin" +fi + if false iswindows then export PAGER='tr -d \\r | less'