mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 02:09:27 +08: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
|