cheat¶
cheat
allows you to create and view interactive cheatsheets on the command-line. It was designed to help remind *nix system administrators of options for commands that they use frequently, but not frequently enough to remember.
I use this rather than cheat.sh because I can more easily add and edit my own cheatsheets.
Installation¶
Config¶
~/.config/cheat/conf.yml
cat > ~/.config/cheat/conf.yml <<EOF
---
cheatpaths:
- name: community
path: /mnt/storage/cheat/cheatsheets/community
tags: [ community ]
readonly: true
- name: personal
path: /mnt/storage/cheat/cheatsheets/personal # this is a separate directory and repository than above
tags: [ personal ]
readonly: false
EOF
Download cheatsheets locally
(
mkdir -p /mnt/storage/cheat/cheatsheets
git clone [email protected]:nicholaswilde/cheatsheets.git /mnt/storage/cheat/cheatsheets/personal
)