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.

12 lines
252 B
Markdown

2 months ago
# Collection of command line cheats
## Shell integration
2 months ago
```shell
2 months ago
function cheat() {
bat -l md -p ~/cheat/cheats/"$1" --color always --theme="Dracula" | tr -d '`'
}
# autocompletion for zsh
2 months ago
compdef '_files -W "/home/panki/cheat/cheats"' cheat
2 months ago
```