mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-09 13:10:40 +00:00
30ab05445d
In order to support dependency between plugins a function called `require` has been added.
10 lines
206 B
Fish
10 lines
206 B
Fish
# SYNOPSIS
|
|
# available [name]
|
|
#
|
|
# OVERVIEW
|
|
# Check if a function or program is available.
|
|
|
|
function available -a name -d "Check if a function or program is available."
|
|
type "$name" ^/dev/null >&2
|
|
end
|