From cbf91f2ed3ed78e0f380a1a10fd6f04b77e5fb45 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 6 Jun 2024 21:55:06 +0900 Subject: [PATCH] ADVANCED.md: /dev/tty redirection no longer required --- ADVANCED.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ADVANCED.md b/ADVANCED.md index a5134aa0..187b6f77 100644 --- a/ADVANCED.md +++ b/ADVANCED.md @@ -1,7 +1,7 @@ Advanced fzf examples ====================== -* *Last update: 2024/06/03* +* *Last update: 2024/06/06* * *Requires fzf 0.53.0 or later* --- @@ -534,8 +534,8 @@ pods() { --bind 'start:reload:$command' \ --bind 'ctrl-r:reload:$command' \ --bind 'ctrl-/:change-preview-window(80%,border-bottom|hidden|)' \ - --bind 'enter:execute:kubectl exec -it --namespace {1} {2} -- bash > /dev/tty' \ - --bind 'ctrl-o:execute:${EDITOR:-vim} <(kubectl logs --all-containers --namespace {1} {2}) > /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})' \ --preview-window up:follow \ --preview 'kubectl logs --follow --all-containers --tail=10000 --namespace {1} {2}' "$@" }