From 0c486d05106a3b209bfed238d4cfef693f9c27c1 Mon Sep 17 00:00:00 2001 From: inkch Date: Thu, 16 Jan 2025 20:41:41 +0900 Subject: [PATCH] fish: fix condition of abbr cat -> bat --- dot_config/private_fish/abbreviations.fish.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_config/private_fish/abbreviations.fish.tmpl b/dot_config/private_fish/abbreviations.fish.tmpl index 92d78f3..0ca47c5 100644 --- a/dot_config/private_fish/abbreviations.fish.tmpl +++ b/dot_config/private_fish/abbreviations.fish.tmpl @@ -252,9 +252,12 @@ if type -q docker; abbr docrmi "docker images | fzf | awk '{ print $1 }' | xargs -I'{}' docker rmi {}" end +if type -q bat; + abbr cat 'bat' +end + if type -q grc; abbr blkid 'grc blkid' - abbr cat 'bat' abbr cpgrep 'colorpgrep' abbr cvs 'grc cvs' abbr df 'grc df -h'