mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
[PATCH] Some comments added in the previous commit
were incorrect. Removed those comments.
This commit is contained in:
parent
2ed86b3a5e
commit
937d60b875
@ -51,13 +51,7 @@ sudo cp jumpapplet ${prefix}/bin/
|
|||||||
sudo cp autojump ${prefix}/bin/
|
sudo cp autojump ${prefix}/bin/
|
||||||
sudo cp autojump.1 ${prefix}/share/man/man1/
|
sudo cp autojump.1 ${prefix}/share/man/man1/
|
||||||
|
|
||||||
#
|
|
||||||
# INSTALL BASH AUTOCOMPLETE
|
|
||||||
#
|
|
||||||
echo "Installing Autocompletion"
|
|
||||||
|
|
||||||
if [ -d "/etc/profile.d" ]; then
|
if [ -d "/etc/profile.d" ]; then
|
||||||
# Copy the autocompletion code
|
|
||||||
sudo cp autojump.bash /etc/profile.d/
|
sudo cp autojump.bash /etc/profile.d/
|
||||||
sudo cp autojump.sh /etc/profile.d/
|
sudo cp autojump.sh /etc/profile.d/
|
||||||
|
|
||||||
@ -77,7 +71,7 @@ else
|
|||||||
if [ ${#ans} -gt 0 ]; then
|
if [ ${#ans} -gt 0 ]; then
|
||||||
if [ $ans = "y" -o $ans = "Y" -o $ans = "yes" -o $ans = "Yes" ]; then
|
if [ $ans = "y" -o $ans = "Y" -o $ans = "yes" -o $ans = "Yes" ]; then
|
||||||
|
|
||||||
# Answered yes. Go ahead and add the autojump bash autocompletion code
|
# Answered yes. Go ahead and add the autojump code
|
||||||
echo "" >> ~/.bashrc
|
echo "" >> ~/.bashrc
|
||||||
echo "#autojump" >> ~/.bashrc
|
echo "#autojump" >> ~/.bashrc
|
||||||
cat autojump.bash >> ~/.bashrc
|
cat autojump.bash >> ~/.bashrc
|
||||||
|
Loading…
Reference in New Issue
Block a user