Quote or bracket completion in bash, without pressing TAB
Is there any way to have bash autocomplete matching symbols like '"[{(
with their right handed counterparts? I would like to do this without
having to press tab.
For example typing the string echo " would immediately result in this
string echo "|", where my cursor (the pipe) is in between the two quotes.
Bonus points if you can find a way that, when the first quote is deleted,
the second one is also deleted.
If you've ever used any mature text editor (eg. sublime text), you can
understand how this interaction works. Answers utilizing fish shell are
also accepted.
No comments:
Post a Comment