mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-19 09:25:28 +00: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
|