Personal almanac of command line magic
| cheats | ||
| 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/cheats"' cheat