Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected expand behavior #5

Open
Majsvaffla opened this issue May 24, 2023 · 0 comments
Open

Unexpected expand behavior #5

Majsvaffla opened this issue May 24, 2023 · 0 comments

Comments

@Majsvaffla
Copy link

Hi! Thank you for the awesome xontrib! I gave it a star!

I've found that, coming from fish, abbrevs are expanded a bit different. In fish they are only expanded if they're at the start of the command line but in xonsh with xontrib-abbrevs they are expanded wherever they're located. Is there an option or something to change that behavior or could it somewhat easily be implemented? I would love to give it at try if pointed in the right direction.

An example where this behavior is problematic is an abbrev I have that ends with the same word as the abbrev itself 🙃 If I pick that command from history it will expand again and break the command.

For community

⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant