Personal almanac of command line magic
Go to file
Felix Pankratz d49735f009 AEZAKMI
2024-10-31 12:56:11 +01:00
cheats AEZAKMI 2024-10-31 12:56:11 +01: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