mirror of
https://github.com/jorgebucaran/fisher
synced 2024-11-03 15:40:27 +00:00
Bump to 2.1.13 📦
* Use more appropriate wording when updating symlinks, instead of "skipped", use "synced", since symlinks are processed justs like regular plugins.
This commit is contained in:
parent
ce812a4914
commit
ead847687e
20
fisher.fish
20
fisher.fish
@ -1,5 +1,5 @@
|
|||||||
function fisher
|
function fisher
|
||||||
set -g fisher_version "2.1.12"
|
set -g fisher_version "2.1.13"
|
||||||
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
|
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
|
||||||
|
|
||||||
function __fisher_show_spinner
|
function __fisher_show_spinner
|
||||||
@ -461,7 +461,7 @@ function __fisher_update
|
|||||||
set -l jobs
|
set -l jobs
|
||||||
set -l count (count $argv)
|
set -l count (count $argv)
|
||||||
set -l updated
|
set -l updated
|
||||||
set -l skipped 0
|
set -l links 0
|
||||||
|
|
||||||
if test "$count" = 0
|
if test "$count" = 0
|
||||||
return
|
return
|
||||||
@ -480,7 +480,7 @@ function __fisher_update
|
|||||||
set updated $updated "$i"
|
set updated $updated "$i"
|
||||||
|
|
||||||
if test -L "$fisher_config/$i"
|
if test -L "$fisher_config/$i"
|
||||||
set skipped (math "$skipped + 1")
|
set links (math "$links + 1")
|
||||||
continue
|
continue
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -499,11 +499,12 @@ function __fisher_update
|
|||||||
if test "$i" = "$fisher_active_prompt"
|
if test "$i" = "$fisher_active_prompt"
|
||||||
set fisher_active_prompt
|
set fisher_active_prompt
|
||||||
end
|
end
|
||||||
|
|
||||||
__fisher_plugin_enable "$fisher_config/$i"
|
__fisher_plugin_enable "$fisher_config/$i"
|
||||||
end
|
end
|
||||||
|
|
||||||
if test "$skipped" -gt 0
|
if test "$links" -gt 0
|
||||||
__fisher_log warn "Skipped @$skipped@ symlink/s" $__fisher_stderr
|
__fisher_log info "Synced @$links@ symlink/s" $__fisher_stderr
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -535,13 +536,8 @@ function __fisher_self_update
|
|||||||
if test "$previous_version" = "$fisher_version"
|
if test "$previous_version" = "$fisher_version"
|
||||||
__fisher_log okay "fisherman is up to date" $__fisher_stderr
|
__fisher_log okay "fisherman is up to date" $__fisher_stderr
|
||||||
else
|
else
|
||||||
__fisher_log okay "You are now running fisherman @$fisher_version@" $__fisher_stderr
|
__fisher_log okay "You are running fisherman @$fisher_version@" $__fisher_stderr
|
||||||
|
__fisher_log info "See github.com/fisherman/fisherman/releases" $__fisher_stderr
|
||||||
__fisher_log info "
|
|
||||||
To see the change log, please visit:
|
|
||||||
https://github.com/fisherman/fisherman/releases
|
|
||||||
|
|
||||||
" $__fisher_stderr
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "fisherman",
|
"name": "fisherman",
|
||||||
"description": "fish plugin manager",
|
"description": "fish plugin manager",
|
||||||
"version": "2.1.12",
|
"version": "2.1.13",
|
||||||
"author": "Jorge Bucaran",
|
"author": "Jorge Bucaran",
|
||||||
"homepage": "https://github.com/fisherman/fisherman",
|
"homepage": "https://github.com/fisherman/fisherman",
|
||||||
"bugs": "https://github.com/fisherman/fisherman/issues",
|
"bugs": "https://github.com/fisherman/fisherman/issues",
|
||||||
|
Loading…
Reference in New Issue
Block a user