From 74ab10f8501ae2704728af3b9905c094eced1092 Mon Sep 17 00:00:00 2001 From: mitty Date: Thu, 9 May 2013 05:52:49 +0000 Subject: [PATCH] * add $HOME/bin to $PATH if it exists git-svn-id: https://lab.mitty.jp/svn/lab/trunk@214 7d2118f6-f56c-43e7-95a2-4bb3031d96e7 --- TipAndDoc/.bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TipAndDoc/.bashrc b/TipAndDoc/.bashrc index 298d439..bece347 100644 --- a/TipAndDoc/.bashrc +++ b/TipAndDoc/.bashrc @@ -38,6 +38,10 @@ else export PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi +if [ -d $HOME/bin -a `echo $PATH | grep -c $HOME/bin` -eq 0 ]; then + export PATH=$PATH:$HOME/bin +fi + function svnst { svn st $@ | grep "^[^?]" } -- 1.7.9.5