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