Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 5, 2024
1 parent a9a0499 commit c79e7be
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions completions/_mise
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ _mise() {
zstyle ":completion:${curcontext}:" cache-policy _usage_mise_cache_policy
fi

if ( [[ -z "${_usage_spec_mise_2024_12_0:-}" ]] || _cache_invalid _usage_spec_mise_2024_12_0 ) \
&& ! _retrieve_cache _usage_spec_mise_2024_12_0;
if ( [[ -z "${_usage_spec_mise_2024_12_1:-}" ]] || _cache_invalid _usage_spec_mise_2024_12_1 ) \
&& ! _retrieve_cache _usage_spec_mise_2024_12_1;
then
spec="$(mise usage)"
_store_cache _usage_spec_mise_2024_12_0 spec
_store_cache _usage_spec_mise_2024_12_1 spec
fi

_arguments "*: :(($(usage complete-word --shell zsh -s "$spec" -- "${words[@]}" )))"
Expand Down
6 changes: 3 additions & 3 deletions completions/mise.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ _mise() {
return 1
fi

if [[ -z ${_usage_spec_mise_2024_12_0:-} ]]; then
_usage_spec_mise_2024_12_0="$(mise usage)"
if [[ -z ${_usage_spec_mise_2024_12_1:-} ]]; then
_usage_spec_mise_2024_12_1="$(mise usage)"
fi

# shellcheck disable=SC2207
COMPREPLY=( $(usage complete-word --shell bash -s "${_usage_spec_mise_2024_12_0}" --cword="$COMP_CWORD" -- "${COMP_WORDS[@]}" ) )
COMPREPLY=( $(usage complete-word --shell bash -s "${_usage_spec_mise_2024_12_1}" --cword="$COMP_CWORD" -- "${COMP_WORDS[@]}" ) )
if [[ $? -ne 0 ]]; then
unset COMPREPLY
fi
Expand Down
6 changes: 3 additions & 3 deletions completions/mise.fish
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if ! command -v usage &> /dev/null
return 1
end

if ! set -q _usage_spec_mise_2024_12_0
set -g _usage_spec_mise_2024_12_0 (mise usage | string collect)
if ! set -q _usage_spec_mise_2024_12_1
set -g _usage_spec_mise_2024_12_1 (mise usage | string collect)
end
complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2024_12_0" -- (commandline -cop) (commandline -t))'
complete -xc mise -a '(usage complete-word --shell fish -s "$_usage_spec_mise_2024_12_1" -- (commandline -cop) (commandline -t))'
4 changes: 2 additions & 2 deletions man/man1/mise.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH mise 1 "mise 2024.12.0"
.TH mise 1 "mise 2024.12.1"
.SH NAME
mise \- The front\-end to your dev env
.SH SYNOPSIS
Expand Down Expand Up @@ -210,6 +210,6 @@ Examples:
$ mise settings Show settings in use
$ mise settings color=0 Disable color by modifying global config file
.SH VERSION
v2024.12.0
v2024.12.1
.SH AUTHORS
Jeff Dickey <@jdx>

0 comments on commit c79e7be

Please sign in to comment.