feat(config): fish configs

This commit is contained in:
2025-02-14 00:04:09 +02:00
parent 4e4a2eaab1
commit b436472bbb
160 changed files with 6324 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# @halostatue/fish-brew/functions/has_cask.fish:v3.2.1
function has_cask --description 'Test if the named cask or casks are installed'
command --query brew
or return 1
argparse --min-args 1 A/all -- $argv
or return 1
set --function found 0
for cask in $argv
if test -d (brew --prefix)/Caskroom/$cask
set found (math $found + 1)
end
end
if set --query _flag_all
test $found -eq (count $argv)
else
test $found -ne 0
end
end