mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-09 04:15:12 +08:00
21 lines
405 B
Fish
21 lines
405 B
Fish
# NAME
|
|
# fish - Extend default fish binary
|
|
#
|
|
# DESCRIPTION
|
|
# Extend fish binary to support plugins and themes installation
|
|
#
|
|
function fish -d "Extend fish binary"
|
|
if test (count $argv) -gt 0
|
|
switch $argv[1]
|
|
case 'install'
|
|
fish.packages --install
|
|
case 'update'
|
|
fish.packages --update
|
|
case '*'
|
|
command fish $argv
|
|
end
|
|
else
|
|
command fish
|
|
end
|
|
end
|