ADVANCED.md: /dev/tty redirection no longer required

This commit is contained in:
Junegunn Choi 2024-06-06 21:55:06 +09:00
parent b1460d4787
commit cbf91f2ed3
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -1,7 +1,7 @@
Advanced fzf examples Advanced fzf examples
====================== ======================
* *Last update: 2024/06/03* * *Last update: 2024/06/06*
* *Requires fzf 0.53.0 or later* * *Requires fzf 0.53.0 or later*
--- ---
@ -534,8 +534,8 @@ pods() {
--bind 'start:reload:$command' \ --bind 'start:reload:$command' \
--bind 'ctrl-r:reload:$command' \ --bind 'ctrl-r:reload:$command' \
--bind 'ctrl-/:change-preview-window(80%,border-bottom|hidden|)' \ --bind 'ctrl-/:change-preview-window(80%,border-bottom|hidden|)' \
--bind 'enter:execute:kubectl exec -it --namespace {1} {2} -- bash > /dev/tty' \ --bind 'enter:execute:kubectl exec -it --namespace {1} {2} -- bash' \
--bind 'ctrl-o:execute:${EDITOR:-vim} <(kubectl logs --all-containers --namespace {1} {2}) > /dev/tty' \ --bind 'ctrl-o:execute:${EDITOR:-vim} <(kubectl logs --all-containers --namespace {1} {2})' \
--preview-window up:follow \ --preview-window up:follow \
--preview 'kubectl logs --follow --all-containers --tail=10000 --namespace {1} {2}' "$@" --preview 'kubectl logs --follow --all-containers --tail=10000 --namespace {1} {2}' "$@"
} }