I use Cmder or ConEmu and am trying to set some of them to get the typed commands from what I already typed. For example, if I enter the following sequence of commands:
cd Sites\site1
ssh user@ip
mysql
And then type UP
(setinha up), the last command entered, in the case mysql
, until then everything is correct. But if I type ssh
and then type UP
, the command that will come will be mysql
, not ssh user@ip
.
My goal is, as I type ssh
, when typing UP
come the last commands that start with ssh
, as it is in the Ubuntu terminal.
This is very useful to me because I use ssh
on several different servers, with different IPs, so I do not have to decorate and retype all IPs. Sometimes I need to use a command that user again months ago, and that's what I used when I was using Ubuntu.