b***@gmail.com
2018-09-23 21:27:22 UTC
Good Evening
I'd like to Automatically Switch my profile when I ssh to different
servers. Unfortunately I'm struggling with the regex need.
All the servers have a prompt of:
[***@server ~]#
I've used the regex of:
^\S(\w+)@([\w.-]+)\s~\S#
and the parameter of:
\1@\2
But this doesn't work. Can anyone point me in the right direction?
Thanks
I'd like to Automatically Switch my profile when I ssh to different
servers. Unfortunately I'm struggling with the regex need.
All the servers have a prompt of:
[***@server ~]#
I've used the regex of:
^\S(\w+)@([\w.-]+)\s~\S#
and the parameter of:
\1@\2
But this doesn't work. Can anyone point me in the right direction?
Thanks
--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discuss+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.