Is there a way to use tab key in bash or zsh to trigger a snippet, like e.g. Sublime Text does it?
For example, if I have configured that x
should be expanded to ~/projects/one/two/x/
, so:
$ cd x[TAB]
would turn into
$ cd ~/projects/one/two/x/