My cheatsheets for https://github.com/cheat/cheat.
- Install cheat.
scoop install cheat
- Clone this repository.
cd ~
git clone --recursive [email protected]:OpenJNY/cheat.git
- Create local copy of the configuration file.
cd cheat
cp template.conf.yml conf.yml
- Registor an environment variable
CHEAT_CONFIG_PATH
with value~/cheat/conf.yml
.
# on shell
$env:CHEAT_CONFIG_PATH = "~/cheat/conf.yml"
# on system
[System.Environment]::SetEnvironmentVariable("CHEAT_CONFIG_PATH", "~/cheat/conf.yml", "User")
git submodule init # optional
git submodule update --remote community
git add community
git commit -m "update: community"
cd ~/cheat
git clone [email protected]:openjny/cheatsheets.git
Add settings for the cheatsheets to ~/cheat/conf.yml
, like as follows:
- name: cheatsheets
path: "~/cheat/cheatsheets"
tags: [ cheatsheets, foo, bar ]
readonly: false # true if you want to edit via cheat command.
cheat cheat