You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
188 B
Fish
10 lines
188 B
Fish
9 years ago
|
# 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
|