diff --git a/fish/.config/fish/conf.d/cabal-abbr.fish b/fish/.config/fish/conf.d/cabal-abbr.fish index 0dc9406..d0a5a5f 100644 --- a/fish/.config/fish/conf.d/cabal-abbr.fish +++ b/fish/.config/fish/conf.d/cabal-abbr.fish @@ -38,3 +38,4 @@ abbr cpdp 'cabal-plan dot-png' abbr cpt 'cabal-plan topo' abbr cplr 'cabal-plan license-reportate' abbr chi 'hiedb -D .hiedb index .hiefiles --src-base-dir .' +abbr chic 'find . -name .hiefiles | awk \'{print $1" "substr($1, 1, length($1) - length(".hiefiles"))}\' | xargs -n2 sh -c \'hiedb -D .hiedb index $0 --src-base-dir=$1 --skip-types\''