navi
navi copied to clipboard
System-wide navi cheats
Is your feature request related to a problem? Please describe. I want to use Navi as a sysadmin, and install cheatsheets for all the users, to ease onboarding.
Describe the solution you'd like
Navi could also read cheatsheets from a global directory like /usr/local/share/navi
.
A --system
option could be added to navi repo add
that write from that directory (with sudo).
Describe alternatives you've considered Installing it per user is bug-prone and tedious, especially with multiple remote computers.
Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)
As a workaround, you can:
- manually
cp
orgit clone
the cheats to/usr/local/share/navi
- globally set the navi path somehow: for example you could
export NAVI_PATH=/usr/local/share/navi
inside/etc/profile
or sth like that
Additional though, to introduce to what cheats to download during install (emerge for Gentoo) time, like
Navi-Cheats="tldr, cheats.sh"
Similar way is done for nerd-fonts in Gentoo.