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.
|
function Plugin --argument-names name
|
|
if [ -e $fish_path/plugins/$name -o -e $fish_custom/plugins/$name ]
|
|
import plugins/$name
|
|
else
|
|
set_color red
|
|
echo "Plugin '$name' is not installed. Run 'fish install' to download and install it."
|
|
set_color normal
|
|
end
|
|
end
|