Terminal key sequence that waits for commant prompt

i’d like to have a key sequence that loads a .bashrc from a central location

but i want it to wait until i’ve typed the password to ssh into then run

is there a wait for a key sequence to wait until i’ve typed the password in?

Hi Chris,

I believe that in your case, the best solution would be to use triggers. You can find the documentation for Triggers here:

https://www.iterm2.com/documentation-triggers.html

I hope that helps!

Kind regards,

Germar Tischler

Hi Chris,

triggers may work in macOS using the iTerm plugin. On Windows, we currently don’t have something like this. I will put this on my list. Maybe we can come up with something in the next major release.

Regards,
Stefan

Any update on triggers for Windows?

Unfortunately not.