3
3
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.
This is a great tip ! However, although this works great for the normal case, I encountered 2 problems:
$FOO
is definedecho ${FO<tab>} results in ${FOO}}
)