home.social

#zshabbr — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #zshabbr, aggregated by home.social.

fetched live
  1. 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: zsh-abbr.olets.dev/extending.h

    #zsh #zshabbr #commandline #terminal #cli

  2. 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: zsh-abbr.olets.dev/extending.h

    #zsh #zshabbr #commandline #terminal #cli

  3. 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: github.com/olets/zsh-abbr/pull

    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: github.com/olets/zsh-abbr/pull

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

  4. 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: github.com/olets/zsh-abbr/pull

    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: github.com/olets/zsh-abbr/pull

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

  5. 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

    zsh-abbr.olets.dev/

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

  6. 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

    zsh-abbr.olets.dev/

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