From d540868b71542fb3a98df9bd63391cbd4a5fdaa3 Mon Sep 17 00:00:00 2001 From: Felix Pankratz Date: Mon, 7 Oct 2024 13:56:06 +0200 Subject: [PATCH] fix readme path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1f73fde..5431b6b 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ ## Shell integration -``` +```shell function cheat() { bat -l md -p ~/cheat/cheats/"$1" --color always --theme="Dracula" | tr -d '`' } # autocompletion for zsh -compdef '_files -W "/home/panki/cheat"' cheat +compdef '_files -W "/home/panki/cheat/cheats"' cheat ```