Install/Update from branch separated by : or @ (#365)

Examples:

fisher install fisherman/done@dev
fisher install fisherman/done@1.1.0
OR
fisher install fisherman/done:dev
fisher install fisherman/done:1.1.0

Related: #269
This commit is contained in:
Francisco Lourenço 2017-02-10 17:29:37 +01:00 committed by Jorge Bucaran
parent 9d5bfca6c2
commit ee617c160b

View file

@ -477,7 +477,7 @@ function __fisher_plugin_fetch_items
end
case \*
printf "%s\n" "$i" | sed 's/[@]\(.*\)/ \1/' | read i branch
printf "%s\n" "$i" | sed 's/[@:]\(.*\)/ \1/' | read i branch
set names (__fisher_plugin_get_names "$i")
end