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:
Jorge Bucaran 2016-04-27 07:49:23 +09:00
parent 227c2738b8
commit d43e4799a2
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30
2 changed files with 9 additions and 13 deletions

View file

@ -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

View file

@ -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",