diff --git a/install.sh b/install.sh index 9da04eb..a63b916 100755 --- a/install.sh +++ b/install.sh @@ -7,6 +7,8 @@ if [ -d "/etc/profile.d" ]; then sudo cp autojump.bash /etc/profile.d/ sudo cp autojump.sh /etc/profile.d/ echo "Remember to add the line" + echo " source /etc/profile.d/autojump.bash" + echo "or" echo " source /etc/profile" echo "to your ~/.bashrc if it's not there already" # TODO intelligently source /etc/profile for them if the line isn't already in their .bashrc diff --git a/install.zsh b/install.zsh index 0462eb3..606a9ce 100755 --- a/install.zsh +++ b/install.zsh @@ -18,6 +18,8 @@ if [ -d "/etc/profile.d" ]; then sudo cp autojump.zsh /etc/profile.d/ sudo cp autojump.sh /etc/profile.d/ echo "Remember to add the line" + echo " source /etc/profile.d/autojump.bash" + echo "or" echo " source /etc/profile" echo "to your ~/.zshrc if it's not there already" else