mirror of
https://github.com/jorgebucaran/fisher
synced 2024-08-17 12:31:05 +02:00
Fix #359.
fish 2.5 more strict handling of the `test` builtin helped identify the bug.
This commit is contained in:
parent
941d213c13
commit
ab6442e573
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ function $fisher_cmd_name -d "fish plugin manager"
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
set -g fisher_version "2.11.0"
|
set -g fisher_version "2.12.0"
|
||||||
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
|
set -g fisher_spinners ⠋ ⠙ ⠹ ⠸ ⠼ ⠴ ⠦ ⠧ ⠇ ⠏
|
||||||
set -g __fisher_stdout /dev/stdout
|
set -g __fisher_stdout /dev/stdout
|
||||||
set -g __fisher_stderr /dev/stderr
|
set -g __fisher_stderr /dev/stderr
|
||||||
|
@ -257,7 +257,7 @@ function $fisher_cmd_name -d "fish plugin manager"
|
||||||
__fisher_log info "Done in &"(__fisher_get_epoch_in_ms $elapsed | __fisher_humanize_duration)"&" "$__fisher_stderr"
|
__fisher_log info "Done in &"(__fisher_get_epoch_in_ms $elapsed | __fisher_humanize_duration)"&" "$__fisher_stderr"
|
||||||
|
|
||||||
case ls
|
case ls
|
||||||
if test "$argv" -ge 0 -o "$argv" = -
|
if test (count "$argv") -ge 0 -o "$argv" = -
|
||||||
if isatty stdout
|
if isatty stdout
|
||||||
__fisher_list | column -c$argv
|
__fisher_list | column -c$argv
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue