-
Notifications
You must be signed in to change notification settings - Fork 0
feat(zsh,github): update functions.zsh and tools.zsh #219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
||
| _navi_call() { | ||
| local result="$(navi "$@" </dev/tty)" | ||
| local result="$(navi "$@" < /dev/tty)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| local result="$(navi "$@" < /dev/tty)" | |
| local result="$(navi "$@" </dev/tty)" |
| docker ps --format "{{.ID}}\t{{.Names}}\t{{.Image}}" \ | ||
| | fzf --height 40% --reverse \ | ||
| | awk '{print $1}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| 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}' |
| docker images --format "{{.Repository}}:{{.Tag}}\t{{.ID}}" \ | ||
| | fzf --height 40% --reverse --prompt="Select an image > " \ | ||
| | awk '{print $2}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| 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}' |
| docker ps --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \ | ||
| | fzf -m --height 40% --reverse --prompt="STOP container(s) > " \ | ||
| | awk '{print $1}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| 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}' |
| docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \ | ||
| | fzf -m --height 40% --reverse --prompt="REMOVE container(s) > " \ | ||
| | awk '{print $1}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| 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}' |
| docker $docker_cmd --format "$format" \ | ||
| | fzf --height 40% --reverse --prompt="$prompt" \ | ||
| | awk '{print $1}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| 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}' |
| docker ps -a --format "{{.ID}}\t{{.Names}}\t{{.Status}}" \ | ||
| | fzf --height 40% --reverse --prompt="Select Container for logs ${follow} > " \ | ||
| | awk '{print $1}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| 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}' |
| printf "%s\n" "${choices[@]}" \ | ||
| | fzf --height 40% --reverse --prompt="Docker Utils > " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| 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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[shfmt] reported by reviewdog 🐶
| done <<< "$output" | |
| done <<<"$output" |
|
PRのスコープが正しくありません。 |
bump