From d43e4799a28d2b89a2b5d7038d20c8382a09459f Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Wed, 27 Apr 2016 07:49:23 +0900 Subject: [PATCH] Bump to 2.1.13 :package: * Use more appropriate wording when updating symlinks, instead of "skipped", use "synced", since symlinks are processed justs like regular plugins. --- fisher.fish | 20 ++++++++------------ package.json | 2 +- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/fisher.fish b/fisher.fish index c721508..8c19bdd 100644 --- a/fisher.fish +++ b/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 diff --git a/package.json b/package.json index 1288790..2e26af0 100644 --- a/package.json +++ b/package.json @@ -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",