GithubHelp home page GithubHelp logo

Comments (6)

olets avatar olets commented on July 29, 2024 2

Reasonable expectation coming from fish, but this is intentional. You can work around it by appending a space to the expansion:

abbr -e pods[ctrl-space][enter]
abbr pods kubectl get pods\[space][enter]
pods[enter] # expands to `kubectl get pods ` and accepts
[up arrow, `!!`, etc] # `kubectl get pods `

But good news! It's changing soon. v3 will distinguish between regular (ie left-anchored) and anywhere-on-the-line abbreviations, just like zsh's alias / alias -g. As with zsh's alias, left-anchored / fish-abbr-like will be default.

Aiming to release 3.0.0 in the next week and a half 🤞

from zsh-abbr.

philwhln avatar philwhln commented on July 29, 2024 1

Thanks! Tested my kubectl get pods issues and works great 👍

from zsh-abbr.

philwhln avatar philwhln commented on July 29, 2024

Aiming to release 3.0.0 in the next week and a half 🤞

Awesome! 👏

from zsh-abbr.

olets avatar olets commented on July 29, 2024

3.0.0 is up! Won't have much spare time this week but let me know if you have problems.

from zsh-abbr.

olets avatar olets commented on July 29, 2024

Glad to hear to hear it

from zsh-abbr.

olets avatar olets commented on July 29, 2024

Belatedly recognizing bug reporters in https://github.com/olets/zsh-abbr#community and https://zsh-abbr.olets.dev/community/. would you like to be added @philwhln?

from zsh-abbr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.