fix readme path
This commit is contained in:
parent
27a8255ba4
commit
d540868b71
@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
## Shell integration
|
## Shell integration
|
||||||
|
|
||||||
```
|
```shell
|
||||||
function cheat() {
|
function cheat() {
|
||||||
bat -l md -p ~/cheat/cheats/"$1" --color always --theme="Dracula" | tr -d '`'
|
bat -l md -p ~/cheat/cheats/"$1" --color always --theme="Dracula" | tr -d '`'
|
||||||
}
|
}
|
||||||
# autocompletion for zsh
|
# autocompletion for zsh
|
||||||
compdef '_files -W "/home/panki/cheat"' cheat
|
compdef '_files -W "/home/panki/cheat/cheats"' cheat
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user