# @halostatue/fish-macos/functions/has_app.fish:v7.0.0 function has_app --description 'Returns true if the named application exists' # Suppress these flags being passed to __macos_app_find argparse a/all q/quiet -- $argv or return 1 if not set --query argv[1] echo >&2 Usage: (status function) APPNAME... return 1 end __macos_app_find --exact --quiet $argv end