From db7648dd1d68c1c3ea85aa04653b4d24b6159a37 Mon Sep 17 00:00:00 2001 From: Joel Schaerer dedibox Date: Wed, 21 Jul 2010 22:55:16 +0200 Subject: [PATCH] less intrusive installer --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9dec406..e6dca51 100755 --- a/install.sh +++ b/install.sh @@ -70,7 +70,7 @@ else # Answered yes. Go ahead and add the autojump code echo "" >> ~/.bashrc echo "#autojump" >> ~/.bashrc - cat autojump.bash >> ~/.bashrc + cat autojump.bash | grep -v "^#" >> ~/.bashrc # Since OSX uses .bash_profile, we need to make sure that .bashrc is properly sourced. # Makes the assumption that if they have a line: source ~/.bashrc or . ~/.bashrc, that