Personal almanac of command line magic
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Pankratz 27a8255ba4 initial commit 2 months ago
cheats initial commit 2 months ago
README.md initial commit 2 months ago

README.md

Collection of command line cheats

Shell integration

function cheat() { 
  bat -l md -p ~/cheat/cheats/"$1" --color always --theme="Dracula" | tr -d '`'
}
# autocompletion for zsh
compdef '_files -W "/home/panki/cheat"' cheat