From e15ccc8f7581b81561b0ec08881da75f2de32946 Mon Sep 17 00:00:00 2001 From: Francisco Lourenco Date: Wed, 15 Feb 2017 21:34:25 +0100 Subject: [PATCH] Document how to install branches and tags Closes: #364 --- README.md | 10 ++++++++++ fisher.fish | 26 ++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/README.md b/README.md index 989ae44..9e26325 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,16 @@ Install more plugins. fisher fzf edc/bass omf/thefuck omf/theme-bobthefish ``` +Install a specific branch. +```sh +fisher edc/bass:master +``` + +Install a specific tag. +```sh +fisher edc/bass@1.2.0 +``` + Install a gist. ``` diff --git a/fisher.fish b/fisher.fish index 0761337..eb2ddda 100644 --- a/fisher.fish +++ b/fisher.fish @@ -2252,6 +2252,32 @@ Install some plugins\. .IP "" 0 . .P +Install a specific branch\. +. +.IP "" 4 +. +.nf + +'"$fisher_cmd_name"' edc/bass:master +. +.fi +. +.IP "" 0 +. +.P +Install a specific tag\. +. +.IP "" 4 +. +.nf + +'"$fisher_cmd_name"' done@1.2.0 +. +.fi +. +.IP "" 0 +. +.P Install a gist\. . .IP "" 4