mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-29 03:59:48 +08:00
10 lines
188 B
Fish
10 lines
188 B
Fish
# SYNOPSIS
|
|
# available [name]
|
|
#
|
|
# OVERVIEW
|
|
# Check if a program is available.
|
|
|
|
function available -a program -d "check if a program is available."
|
|
type "$program" ^/dev/null >&2
|
|
end
|