Released zsh-abbr v6.5.0. Most notably, the command line-processing features that let it expand text and place the cursor as you type are now available outside the plugin.

abbr-expand-line processes text input and populates an associative array with data that can answer questions like "would zsh-abbr expand an abbreviation?" and "what would the LBUFFER and RBUFFER be like after hitting the spacebar".

abbr-set-line-cursor does the work of zsh-abbr's opt-in "if text didn't expand, move the cursor to a marker" feature.

Technically a refactor, but for would-be extension authors it should open doors.
Docs: https://zsh-abbr.olets.dev/extending.html

#zsh #zshabbr #commandline #terminal #cli

zsh-abbr

The zsh manager for auto-expanding abbreviations

zsh-abbr

Released two zsh-abbr features I'm excited about last week (v6.4.0):

You can customize the abbreviation delimiters (with caveats, makes it possible to expand abbreviation inside parenthesis and quotation marks). Write-up: https://github.com/olets/zsh-abbr/pull/198

And you can expand "regular" abbreviations in command position anywhere on the line not just in the first command position (experimental opt-in). Write-up: https://github.com/olets/zsh-abbr/pull/197

#zsh #ZshAbbr #terminal #CommandLine #TextExpansion #DevTools

Characters which delimit abbreviations are user-configurable [#196. see also #9, #191, #195] by olets · Pull Request #198 · olets/zsh-abbr

Closes Support user configuration of which characters delimit abbreviations #196 Adds support for user configuration of which characters delimit abbreviations. WarningWith great power comes great ...

GitHub

v6 of zsh-abbr, the zsh manager for auto-expanding abbreviations, is out 🎉Excited to ship a bunch of new features

Highlights:

🆕 History: optionally save abbreviations to your shell history
🆕 Prefixes: strings and globs that can precede regular abbreviations. Now you can `sudo <my regular abbreviation>`
🆕 Reminders: optionally get "you could have used your abbreviation …" notices

https://zsh-abbr.olets.dev/

#ZshAbbr #zsh #shell #terminal #CLI
#command_line #command_line_utilities

zsh-abbr

The zsh manager for auto-expanding abbreviations

zsh-abbr

Published a new zsh plugin to complement zsh-abbr: `zsh-autosuggestions-abbreviations-strategy` teaches zsh-autosuggestions about your zsh-abbr abbreviations

https://github.com/olets/zsh-autosuggestions-abbreviations-strategy

#zsh #cli #ZshAbbr

GitHub - olets/zsh-autosuggestions-abbreviations-strategy: Have zsh-autosuggestions suggest your zsh-abbr abbreviations

Have zsh-autosuggestions suggest your zsh-abbr abbreviations - olets/zsh-autosuggestions-abbreviations-strategy

GitHub