This is regarding issue #50.
- If
install.zshis run as root, it installs globally (old behavior). - If
install.zshis run as non-root, quits with error message. - If
install.zsh --localis run, installs it locally.
When installing locally, defaults to ~/.autojump/ unless overwritten by user using the --prefix option. It puts all files required for autojump in a single folder for easy removal, and outputs relevant ~/.zshrc changes for user to manually edit.
There are also some minor formatting/wording changes.
If these changes garner interest and gets merged into the master repo, some other changes I'd do:
- modify
uninstall.zshto detect and remove local installs - test if
~/.zshrchas been modified appropriately and adds changes if not - make relevant tweaks to support z-shell on Mac OS X
- rewrite the bash equivalent
install.shanduninstall.shfiles to match.