DEV Community

Discussion on: Docker shell shortcuts - because writing full commands is hard!

Collapse
 
olehdevua profile image
Oleh Devua

I personally dislike such approach. Bash complete + reverse search for often used commands makes its job well. So you don't need remember you shortcuts, which may be outdated, or just not available on remote machine.

Collapse
 
tomgranot profile image
Tom Granot

Not having dbash on remotes have indeed bummed me out many times. One possible solution with machines that you manage yourself is having those shorthands backed up o git, then loading them in the machines that you manage like you do on your local one.

But that's not always possible, so what happens in practice is that I know most often-used commands by heart, and only use the shortcodes on my machine. So, different tastes I guess;)