Skip to content

Conversation

@shiron-dev
Copy link
Owner

@shiron-dev shiron-dev commented Dec 29, 2025

bump


_navi_call() {
local result="$(navi "$@" </dev/tty)"
local result="$(navi "$@" < /dev/tty)"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
local result="$(navi "$@" < /dev/tty)"
local result="$(navi "$@" </dev/tty)"

Comment on lines +145 to +147
docker ps --format "{{.ID}}\t{{.Names}}\t{{.Image}}" \
| fzf --height 40% --reverse \
| awk '{print $1}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
docker ps --format "{{.ID}}\t{{.Names}}\t{{.Image}}" \
| fzf --height 40% --reverse \
| awk '{print $1}'
docker ps --format "{{.ID}}\t{{.Names}}\t{{.Image}}" |
fzf --height 40% --reverse |
awk '{print $1}'

Comment on lines +165 to +167
docker images --format "{{.Repository}}:{{.Tag}}\t{{.ID}}" \
| fzf --height 40% --reverse --prompt="Select an image > " \
| awk '{print $2}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
docker images --format "{{.Repository}}:{{.Tag}}\t{{.ID}}" \
| fzf --height 40% --reverse --prompt="Select an image > " \
| awk '{print $2}'
docker images --format "{{.Repository}}:{{.Tag}}\t{{.ID}}" |
fzf --height 40% --reverse --prompt="Select an image > " |
awk '{print $2}'

Comment on lines +186 to +188
docker ps --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \
| fzf -m --height 40% --reverse --prompt="STOP container(s) > " \
| awk '{print $1}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
docker ps --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \
| fzf -m --height 40% --reverse --prompt="STOP container(s) > " \
| awk '{print $1}'
docker ps --format "{{.ID}}\t{{.Names}}\t{{.Status}}" |
fzf -m --height 40% --reverse --prompt="STOP container(s) > " |
awk '{print $1}'

Comment on lines +196 to +198
docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \
| fzf -m --height 40% --reverse --prompt="REMOVE container(s) > " \
| awk '{print $1}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \
| fzf -m --height 40% --reverse --prompt="REMOVE container(s) > " \
| awk '{print $1}'
docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" |
fzf -m --height 40% --reverse --prompt="REMOVE container(s) > " |
awk '{print $1}'

Comment on lines +218 to +220
docker $docker_cmd --format "$format" \
| fzf --height 40% --reverse --prompt="$prompt" \
| awk '{print $1}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
docker $docker_cmd --format "$format" \
| fzf --height 40% --reverse --prompt="$prompt" \
| awk '{print $1}'
docker $docker_cmd --format "$format" |
fzf --height 40% --reverse --prompt="$prompt" |
awk '{print $1}'

Comment on lines +234 to +236
docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \
| fzf --height 40% --reverse --prompt="Select Container for logs ${follow} > " \
| awk '{print $1}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \
| fzf --height 40% --reverse --prompt="Select Container for logs ${follow} > " \
| awk '{print $1}'
docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" |
fzf --height 40% --reverse --prompt="Select Container for logs ${follow} > " |
awk '{print $1}'

Comment on lines +257 to +258
printf "%s\n" "${choices[@]}" \
| fzf --height 40% --reverse --prompt="Docker Utils > "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
printf "%s\n" "${choices[@]}" \
| fzf --height 40% --reverse --prompt="Docker Utils > "
printf "%s\n" "${choices[@]}" |
fzf --height 40% --reverse --prompt="Docker Utils > "

echo "Trimmed EOF: $file"
fi
fi
done <<< "$output"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shfmt] reported by reviewdog 🐶

Suggested change
done <<< "$output"
done <<<"$output"

@github-actions
Copy link
Contributor

PRのスコープが正しくありません。
現在のスコープ: zsh
検知したスコープ: github zsh

@shiron-dev shiron-dev changed the title feat(zsh): update functions.zsh and tools.zsh feat(zsh,github): update functions.zsh and tools.zsh Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants