mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02: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
227c2738b8
commit
d43e4799a2
2 changed files with 9 additions and 13 deletions
20
fisher.fish
20
fisher.fish
|
@ -1,5 +1,5 @@
|
|||
function fisher
|
||||
set -g fisher_version "2.1.12"
|
||||
set -g fisher_version "2.1.13"
|
||||
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
|
||||
|
||||
function __fisher_show_spinner
|
||||
|
@ -461,7 +461,7 @@ function __fisher_update
|
|||
set -l jobs
|
||||
set -l count (count $argv)
|
||||
set -l updated
|
||||
set -l skipped 0
|
||||
set -l links 0
|
||||
|
||||
if test "$count" = 0
|
||||
return
|
||||
|
@ -480,7 +480,7 @@ function __fisher_update
|
|||
set updated $updated "$i"
|
||||
|
||||
if test -L "$fisher_config/$i"
|
||||
set skipped (math "$skipped + 1")
|
||||
set links (math "$links + 1")
|
||||
continue
|
||||
end
|
||||
|
||||
|
@ -499,11 +499,12 @@ function __fisher_update
|
|||
if test "$i" = "$fisher_active_prompt"
|
||||
set fisher_active_prompt
|
||||
end
|
||||
|
||||
__fisher_plugin_enable "$fisher_config/$i"
|
||||
end
|
||||
|
||||
if test "$skipped" -gt 0
|
||||
__fisher_log warn "Skipped @$skipped@ symlink/s" $__fisher_stderr
|
||||
if test "$links" -gt 0
|
||||
__fisher_log info "Synced @$links@ symlink/s" $__fisher_stderr
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -535,13 +536,8 @@ function __fisher_self_update
|
|||
if test "$previous_version" = "$fisher_version"
|
||||
__fisher_log okay "fisherman is up to date" $__fisher_stderr
|
||||
else
|
||||
__fisher_log okay "You are now running fisherman @$fisher_version@" $__fisher_stderr
|
||||
|
||||
__fisher_log info "
|
||||
To see the change log, please visit:
|
||||
https://github.com/fisherman/fisherman/releases
|
||||
|
||||
" $__fisher_stderr
|
||||
__fisher_log okay "You are running fisherman @$fisher_version@" $__fisher_stderr
|
||||
__fisher_log info "See github.com/fisherman/fisherman/releases" $__fisher_stderr
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "fisherman",
|
||||
"description": "fish plugin manager",
|
||||
"version": "2.1.12",
|
||||
"version": "2.1.13",
|
||||
"author": "Jorge Bucaran",
|
||||
"homepage": "https://github.com/fisherman/fisherman",
|
||||
"bugs": "https://github.com/fisherman/fisherman/issues",
|
||||
|
|
Loading…
Reference in a new issue