denisidoro / navi

An interactive cheatsheet tool for the command-line
Apache License 2.0
15.14k stars 505 forks source link

System-wide navi cheats #586

Open MatthieuBizien opened 3 years ago

MatthieuBizien commented 3 years ago

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.

welcome[bot] commented 3 years ago

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! :)

denisidoro commented 3 years ago

As a workaround, you can:

orleanski commented 2 years ago

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.