Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run autojump without root? #36

Closed
kevinburke opened this issue Jan 17, 2011 · 8 comments
Closed

Run autojump without root? #36

kevinburke opened this issue Jan 17, 2011 · 8 comments

Comments

@kevinburke
Copy link

Is there any way I could install autojump on a remote shared webhost? I have ssh but not root.

@soutade
Copy link

soutade commented Jan 17, 2011

You can remove sudo command from install.(z)sh, specify an alternate path (--prefix or -p) to install autojump in your home directory and update $PATH.

@joelthelion
Copy link
Collaborator

I'm working on a better installer; but in the meantime, there is nothing stopping you from installing it yourself without root. I can help if you're stuck.

@kevinburke
Copy link
Author

Thanks - here were the steps I had to take, for future reference

1 - didn't realize it had to be --prefix $HOME and not --prefix=$HOME.
2 - remove all the sudo's from install.sh
3 - copy contents of autojump.bash into .bashrc
4 - edit autojump file - default version of python on the box was 2.4, so "except Exception as e" caused errors. Changed first line to #!/usr/local/bin/python2.6 and now it works fine.

@joelthelion
Copy link
Collaborator

Thanks for your report.

@mrjabba
Copy link

mrjabba commented Jul 28, 2011

This worked for me under Ubuntu, installing manually with a home directory install. Thanks!!

@mrjabba
Copy link

mrjabba commented Aug 2, 2011

Correction. This worked under Ubuntu 10.10 (Maverick) with Python 2.6.6. This didn't work on my laptop running 10.04(lucid) with Python 2.6.5. But, I don't see that Python would be a factor. I'm getting the helpful "autojump: command not found" when I type "j" space then the name of a directory I want to jump to, then tab. I pretty much followed along above, editing the files to copy to my home directory in ~/bin/autojump. Weird.

@mrjabba
Copy link

mrjabba commented Aug 2, 2011

OK. I think found my problem. I was having issues when I first set this up and had updated my path var.

This didn't work:
export PATH=$PATH:/home/mrjabba/.autojump/bin/autojump
I changed it to this and it worked:
export PATH=$PATH:/home/mrjabba/.autojump/bin

Anyway, the point was point at the autojump bin directory, not the script itself.
All fixed! :-)

This also worked when I tried wting's fork as you can see from .autojump path.

@joelthelion
Copy link
Collaborator

I'll work with wting to merge his changes into the main tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants