Hi. I use this little tool every day. It's really excellent. I would previously type (cd dir && command) a lot, and was constantly forgetting the ). Now I just have to type \in dir command ('\' because bash treats in as a reserved word).
I'm wondering whether there is a way to teach bash that in forwards arguments to the downstream command.
After typing this, I realised that time and sudo both fail to tab-complete downstream commands on my computer, so maybe bash completion is just not powerful enough. If so, I'm happy for this to be closed.
I'm not aware of any completion tool that's smart enough to do this, but I'd be happy to have this if such a thing comes into existence. I'll leave the issue open until it's solvable.
Hi. I use this little tool every day. It's really excellent. I would previously type
(cd dir && command)
a lot, and was constantly forgetting the)
. Now I just have to type\in dir command
('\' because bash treatsin
as a reserved word).I'm wondering whether there is a way to teach bash that
in
forwards arguments to the downstream command.After typing this, I realised that
time
andsudo
both fail to tab-complete downstream commands on my computer, so maybe bash completion is just not powerful enough. If so, I'm happy for this to be closed.