diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-16 09:23:25 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-01-16 09:23:25 +0900 |
| commit | b712f2bb6a5c1eed5661072604e308951ef655f2 (patch) | |
| tree | 553697ecbb91c3af4867e3a5e0b3452307311ac4 /CHANGELOG.md | |
| parent | 938c15ec635c0147eda2510776fd63057165e69e (diff) | |
| download | fzf-b712f2bb6a5c1eed5661072604e308951ef655f2.tar.gz | |
Export the current nth value as $FZF_NTH
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c772aa8..28d21bbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -92,10 +92,11 @@ Also, fzf now offers "style presets" for quick customization, which can be activ # Dim the other parts ls -al | fzf --nth -1 --color nth:regular,fg:dim,current-fg:dim - # With 'change-nth' + # With 'change-nth'. The current nth option is exported as $FZF_NTH. ps -ef | fzf --reverse --header-lines 1 --header-border bottom --input-border \ - --color nth:regular,fg:dim,current-fg:dim \ - --nth 8.. --bind 'ctrl-n:change-nth(..|1|2|3|4|5|6|7|)' + --color nth:regular,fg:dim,current-fg:dim \ + --nth 8.. --bind 'ctrl-n:change-nth(1|2|3|4|5|6|7|)' \ + --bind 'result:transform-prompt:echo "${FZF_NTH}> "' ``` - A single-character delimiter is now treated as a plain string delimiter rather than a regular expression delimiter, even if it's a regular expression meta-character. - This means you can just write `--delimiter '|'` instead of escaping it as `--delimiter '\|'` |
