diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-06 21:55:06 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-06-06 21:58:02 +0900 |
| commit | cbf91f2ed3ed78e0f380a1a10fd6f04b77e5fb45 (patch) | |
| tree | 9d6afc7548d387a1009322d31ee284890b332b87 /ADVANCED.md | |
| parent | b1460d4787adb84b54262ff69caf6ad3dfac1e8a (diff) | |
| download | fzf-cbf91f2ed3ed78e0f380a1a10fd6f04b77e5fb45.tar.gz | |
ADVANCED.md: /dev/tty redirection no longer required
Diffstat (limited to 'ADVANCED.md')
| -rw-r--r-- | ADVANCED.md | 6 |
1 files 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}' "$@" } |
