-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ahoy! Fisherman gets a super patch v0.3.1
This patch contains several amends for 0.3.0 and other minor documentation corrections. Major documentation revision and rewrite. fisher help shows fisher(1) by default now. Fix a critical bug that was causing fisher uninstall --force to remove not the symbolic link, but the actual files. Closes #24 Rename orphan tag to custom for plugins installed using a custom URL. warning Remove fisher --link flag and create symbolic links by default for local paths. The user does not have to worry about symbolic links or whether the copy is as symbolic link or not anymore. If the user tries to install a local path, then the best thing to do is to create a symbolic link. This also eliminates the need to call update. warning Remove fisher --cache and fisher --validate. Now, that these options are separated into their own function and they are intentionally private, there is no need for them.
- Loading branch information
1 parent
8bfdf82
commit ee0338d
Showing
56 changed files
with
971 additions
and
901 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,29 @@ | ||
complete -xc fisher -d "Fisherman" | ||
complete -xc fisher -d "Ahoy! Fisherman" | ||
|
||
complete -c fisher -n "__fish_seen_subcommand_from search" -a "\t" | ||
complete -c fisher -n "__fish_use_subcommand" -s v -l version -d "Show version information" | ||
complete -c fisher -n "__fish_use_subcommand" -s h -l help -d "Display help" | ||
complete -c fisher -n "__fish_use_subcommand" -s f -l file -d "Read fishfile" | ||
complete -c fisher -n "__fish_use_subcommand" -s a -l alias -d "Define one or more comma-separated command aliases" | ||
complete -c fisher -n "__fish_use_subcommand" -s l -l list -d "List plugins in the cache" | ||
complete -c fisher -n "__fish_use_subcommand" -s f -l file -d "Read a fishfile" | ||
complete -c fisher -n "__fish_use_subcommand" -s h -l help -d "Display help" | ||
complete -c fisher -n "__fish_use_subcommand" -s a -l alias -d "Define command aliases" | ||
complete -c fisher -n "__fish_use_subcommand" -s v -l version -d "Show version information" | ||
|
||
set -l IFS ";" | ||
|
||
for option in commands guides | ||
fisher_help --$option=bare | sed -E 's/^ *([^ ]+) *(.*)/\1;\2/' | while read -l func info | ||
fisher_help --$option=bare | sed -E 's/^ *([^ ]+) *(.*)/\1;\2/' | while read -l cmd info | ||
|
||
complete -c fisher -n "__fish_seen_subcommand_from help" -a $func -d "$info" | ||
complete -c fisher -n "__fish_seen_subcommand_from help" -a $cmd -d "$info" | ||
|
||
if test $option = guides | ||
continue | ||
end | ||
|
||
complete -c fisher -n "__fish_use_subcommand" -a $func -d "$info" | ||
complete -c fisher -n "__fish_use_subcommand" -a $cmd -d "$info" | ||
|
||
fisher_help --usage=$func | __fisher_complete OFS=';' | while read -l 1 2 3 | ||
complete -c fisher -n "__fish_seen_subcommand_from $func" -s "$3" -l "$2" -d "$1" | ||
fisher_help --usage=$cmd | __fisher_complete OFS=';' | while read -l 1 2 3 | ||
complete -c fisher -n "__fish_seen_subcommand_from $cmd" -s "$3" -l "$2" -d "$1" | ||
end | ||
end | ||
end | ||
|
||
if test -e $fisher_cache/.index | ||
__fisher_complete_cache update uninstall | ||
__fisher_complete_remote install | ||
end | ||
__fisher_complete_cache update uninstall | ||
__fisher_complete_remote install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
function __fisher_name -d "Generate a pretty name from a plugin path or URL" | ||
function __fisher_name -d "Create pretty name from a plugin path or URL" | ||
sed -E 's|.*/(.*)|\1|; s/^(plugin|theme|pkg|omf|fish|fisher)-//' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.