mirror of
https://github.com/jorgebucaran/fisher
synced 2024-08-17 12:31:05 +02:00
* Move AUTHORS -> THANKS and remove automatic generation. THANKS is more sensible than AUTHORS. CREDITS was second best. Also, after perusing similar files in other projects I noticed some entries lacking a valid email address and decided fow now this file should be curated manually to make sure each entry contains a useful link. This allows users who have contributed to the project ways other than committing code to be added to the list as well. * Rename wait -> spin. * Remove extra padding in links. (Cosmetic) * Update to reflect API refactorings. * Fix bug causing brackets to show up in description. * Implement using spin function. * __fisher_gist_to_name uses curl to query the GitHub API which will return a JSON stream even if the Gist could not be found. So, it's not possible to determine whether we failed or not using our spin function and actually need to check the returned string to see if it contains a valid name or not. * Let git pull write errors to stderr. * Use new internal __fisher_spin. * Extract spin to independent / external module and tweak Makefile to better integrate with new install process.
19 lines
381 B
Fish
19 lines
381 B
Fish
# Reset Fisherman's configuration state.
|
|
|
|
set -g fisher_config $argv
|
|
source $fisher_home/config.fish
|
|
|
|
set -U fisher_prompt
|
|
set -g plugins $DIRNAME/fixtures/plugins
|
|
set -g fisher_index file://$plugins/index
|
|
|
|
__fisher_index_update
|
|
|
|
function -S __fisher_url_clone -a url path
|
|
cp -rf (echo $url | sed "s|https://github.com/|$plugins/|") $path
|
|
end
|
|
|
|
function spin
|
|
eval $argv
|
|
end
|