From 19759ed36edae830ac794f20320b6501fe0ca260 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 6 Apr 2021 22:53:59 +0900 Subject: [PATCH] 0.27.0 --- CHANGELOG.md | 13 ++++++++++++- README.md | 2 +- install | 6 +++--- install.ps1 | 2 +- main.go | 2 +- man/man1/fzf-tmux.1 | 2 +- man/man1/fzf.1 | 2 +- 7 files changed, 20 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c606bf26e81..b9683721658 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,21 @@ CHANGELOG - More border options for `--preview-window` ```sh fzf --preview 'cat {}' --preview-window border-left + fzf --preview 'cat {}' --preview-window border-left --border horizontal fzf --preview 'cat {}' --preview-window top:border-bottom fzf --preview 'cat {}' --preview-window top:border-horizontal ``` -- Signed and notarized macOS binaries (thanks to [BACKERS.md](https://github.com/junegunn/junegunn/blob/main/BACKERS.md)) +- Automatically set `/dev/tty` as STDIN on execute action + ```sh + # Redirect /dev/tty to suppress "Vim: Warning: Input is not from a terminal" + # ls | fzf --bind "enter:execute(vim {} < /dev/tty)" + + # "< /dev/tty" part is no longer needed + ls | fzf --bind "enter:execute(vim {})" + ``` +- Bug fixes and improvements +- Signed and notarized macOS binaries + (Huge thanks to [BACKERS.md](https://github.com/junegunn/junegunn/blob/main/BACKERS.md)!) 0.26.0 ------ diff --git a/README.md b/README.md index 292d4315021..9dd4b28e0ca 100644 --- a/README.md +++ b/README.md @@ -615,7 +615,7 @@ You can customize the size, position, and border of the preview window using ```bash fzf --height 40% --layout reverse --info inline --border \ - --preview 'file {}' --preview-window down:1:noborder \ + --preview 'file {}' --preview-window up,1,border-horizontal \ --color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899' ``` diff --git a/install b/install index b6fff776d5e..025d00a511a 100755 --- a/install +++ b/install @@ -2,7 +2,7 @@ set -u -version=0.26.0 +version=0.27.0 auto_completion= key_bindings= update_config=2 @@ -168,8 +168,8 @@ archi=$(uname -sm) binary_available=1 binary_error="" case "$archi" in - Darwin\ arm64) download fzf-$version-darwin_arm64.tar.gz ;; - Darwin\ x86_64) download fzf-$version-darwin_amd64.tar.gz ;; + Darwin\ arm64) download fzf-$version-darwin_arm64.zip ;; + Darwin\ x86_64) download fzf-$version-darwin_amd64.zip ;; Linux\ armv5*) download fzf-$version-linux_armv5.tar.gz ;; Linux\ armv6*) download fzf-$version-linux_armv6.tar.gz ;; Linux\ armv7*) download fzf-$version-linux_armv7.tar.gz ;; diff --git a/install.ps1 b/install.ps1 index 10ce7aaf964..b53f0a320d0 100644 --- a/install.ps1 +++ b/install.ps1 @@ -1,4 +1,4 @@ -$version="0.26.0" +$version="0.27.0" $fzf_base=Split-Path -Parent $MyInvocation.MyCommand.Definition diff --git a/main.go b/main.go index f675fdbe992..da4028437b3 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( "github.com/junegunn/fzf/src/protector" ) -var version string = "0.26" +var version string = "0.27" var revision string = "devel" func main() { diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1 index 7aae95a822d..238cecb83be 100644 --- a/man/man1/fzf-tmux.1 +++ b/man/man1/fzf-tmux.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf-tmux 1 "Mar 2021" "fzf 0.26.0" "fzf-tmux - open fzf in tmux split pane" +.TH fzf-tmux 1 "Apr 2021" "fzf 0.27.0" "fzf-tmux - open fzf in tmux split pane" .SH NAME fzf-tmux - open fzf in tmux split pane diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index ae16a75ad52..2baa07582a7 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -21,7 +21,7 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf 1 "Mar 2021" "fzf 0.26.0" "fzf - a command-line fuzzy finder" +.TH fzf 1 "Apr 2021" "fzf 0.27.0" "fzf - a command-line fuzzy finder" .SH NAME fzf - a command-line fuzzy finder