feat(zsh,github): update functions.zsh and tools.zsh#219
feat(zsh,github): update functions.zsh and tools.zsh#219shiron-dev wants to merge 14 commits intomainfrom
Conversation
|
PRのスコープが正しくありません。 |
| _navi_call() { | ||
| local result="$(navi "$@" </dev/tty)" | ||
| local result | ||
| result="$(navi "$@" < /dev/tty)" |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| result="$(navi "$@" < /dev/tty)" | |
| result="$(navi "$@" </dev/tty)" |
| 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.
[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.
[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.
[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.
[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.
[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.
[shfmt] reported by reviewdog 🐶
| done <<< "$output" | |
| done <<<"$output" |
| export GOPATH=$HOME/go | ||
| export GOBIN=$GOPATH/bin | ||
| export PATH=$PATH:$GOBIN | ||
| source ~/.orbstack/shell/init.zsh 2> /dev/null || : |
There was a problem hiding this comment.
[shfmt] reported by reviewdog 🐶
| source ~/.orbstack/shell/init.zsh 2> /dev/null || : | |
| source ~/.orbstack/shell/init.zsh 2>/dev/null || : |
| docker ps --format "{{.ID}}\t{{.Names}}\t{{.Image}}" \ | ||
| | fzf --height 40% --reverse \ | ||
| | awk '{print $1}' |
There was a problem hiding this comment.
[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.
[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}' |
bump