Skip to content

Conversation

@shiron-dev
Copy link
Owner

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

bump

@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
_navi_call() {
local result="$(navi "$@" </dev/tty)"
local result
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
result="$(navi "$@" < /dev/tty)"
result="$(navi "$@" </dev/tty)"

Comment on lines +159 to +161
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 +179 to +181
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 +202 to +204
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 +213 to +215
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 +236 to +238
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 +253 to +255
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 +277 to +278
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"

export GOPATH=$HOME/go
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
source ~/.orbstack/shell/init.zsh 2> /dev/null || :
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
source ~/.orbstack/shell/init.zsh 2> /dev/null || :
source ~/.orbstack/shell/init.zsh 2>/dev/null || :

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