From c8e3087b944dbf71d8c4c0c53b05e0a2e413ca79 Mon Sep 17 00:00:00 2001 From: Henry Bley-Vroman Date: Fri, 8 Mar 2024 19:18:46 -1000 Subject: [PATCH] chore(bump): bump to v5.4.0, update changelog --- CHANGELOG.md | 15 +++++++++++++++ man/man1/abbr.1 | 2 +- zsh-abbr.zsh | 6 +++--- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2417c489..ea2dd492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# [5.4.0](https://github.com/olets/zsh-abbr/compare/v5.3.0...v5.4.0) (2024-03-08) + +### Features + +Cursor placement! With thanks to [@burneyy](https://github.com/burneyy) (see [#63](https://github.com/olets/zsh-abbr/pull/63)) + +* **abbr-expand widget:** support placing cursor [[#110](https://github.com/olets/zsh-abbr/issues/110)] ([6c688e0](https://github.com/olets/zsh-abbr/commit/6c688e019852df16b70c928bbd87c1b5d3f0382b)) + - If `ABBR_SET_EXPANSION_CURSOR` (default `0`) is non-zero, the expansion's first instance of `ABBR_EXPANSION_CURSOR_MARKER` (default `$ABBR_CURSOR_MARKER` (see below)) will be replaced with the cursor +* **abbr-expand-and-insert:** + - replaces deprecated `abbr-expand-and-space` ([36667ce](https://github.com/olets/zsh-abbr/commit/36667cecd26a50ad082f6b83df6c5913e52d6e59)) + - support checking buffer for cursor stops ([52c9d3a](https://github.com/olets/zsh-abbr/commit/52c9d3a1e029dc17214716dbc63bd658e861682f)) + - If `ABBR_SET_LINE_CURSOR` (default `0`) is non-zero and the cursor wasn't placed during expansion, the buffer's first instance of `ABBR_LINE_CURSOR_MARKER` (default `%`) will be replaced with the cursor + + + # [5.3.0](https://github.com/olets/zsh-abbr/compare/v5.2.0...v5.3.0) (2024-01-02) ### Features diff --git a/man/man1/abbr.1 b/man/man1/abbr.1 index db24d6bc..217cda2a 100644 --- a/man/man1/abbr.1 +++ b/man/man1/abbr.1 @@ -1,4 +1,4 @@ -.TH "ZSH-ABBR" 1 "October 19 2023" "abbr 5.2.0" "User Commands" +.TH "ZSH-ABBR" 1 "March 8 2024" "abbr 5.4.0" "User Commands" .SH NAME zsh\-abbr \- manage zsh abbreviations .SH SYNOPSIS diff --git a/zsh-abbr.zsh b/zsh-abbr.zsh index d6f6827d..2191fdcb 100755 --- a/zsh-abbr.zsh +++ b/zsh-abbr.zsh @@ -2,7 +2,7 @@ # abbreviation management for zsh, inspired by fish shell and enhanced # https://github.com/olets/zsh-abbr -# v5.3.0 +# v5.4.0 # Copyright (c) 2019-present Henry Bley-Vroman @@ -80,8 +80,8 @@ abbr() { quiet=$ABBR_QUIET quiet=$(( ABBR_QUIETER || ABBR_QUIET )) quieter=$ABBR_QUIETER - release_date="Jan 2 2024" - version="zsh-abbr version 5.3.0" + release_date="March 8 2024" + version="zsh-abbr version 5.4.0" # Deprecation notices for values that could be meaningfully set after initialization # Example form: