-
Notifications
You must be signed in to change notification settings - Fork 491
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
Support install without sudo permissions? #51
Comments
Thanks for opening your first issue here! |
The install script simply creates a symlink in |
shall i take this issue? |
@UchihaSR feel free! But I still don't know what path we should use in this case |
Thanks for making this project, it's really cool! I'd been looking for something like this for a while. I noticed that your shell widget is pretty much stand-alone and I wanted to be able to use navi directly as an [oh-my-zsh][1] plugin, so I added a few things to the widget and moved it to the root of the repository so that the repo can be cloned straight into the `plugins` folder and detected when added in the plugin array. I think it should be similarly simple with `fish`, but I'm not too familiar with that shell, so I'll leave it to someone else. The `navi.plugin.zsh` file should still be sourcable as a widget for people not using oh-my-zsh, so technically the `shell/` directory could be removed and `navi widget`updated to use the new file. ## What's included - oh-my-zsh plugin - install documentation - no PATH modification required when used with OMZ - Added bonus: #51 is kind of unofficially addressed by this (assuming one uses OMZ) ## Future Work - Pre-filter using `$BUFFER` when hitting `Alt+G` to get something similar to `navi query` - Update `navi widget zsh` to use `navi.plugin.zsh` Let me know what you think. I'm working on a few cheatsheets, and will open PRs for those as they become ready. Cheers, Alex [1]: https://github.com/robbyrussell/oh-my-zsh
@quadebroadwell if you use oh-my-zsh, checkout the PR that I submitted yesterday, it will let you use navi as a widget without having to do a system-wide install. Alternatively, you can just # .zprofile or similar
export PATH="$PATH:/path/to/navi/repo" You can then manually update using |
Is it possible to have an install route without the need for sudo?
The text was updated successfully, but these errors were encountered: