Personal almanac of command line magic
Go to file
2024-10-07 13:56:06 +02:00
cheats initial commit 2024-10-07 13:51:06 +02:00
README.md fix readme path 2024-10-07 13:56:06 +02:00

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