DEV Community

loading...

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

Collapse
aaronslwalker profile image
Aaron Walker

Nice!

I had to make a minor change because I already have a function configured that redefines "docker ps -a" to sort and color results, which broke most of the functions. Switching the degree function to docker ps --all resolved the issue.

Collapse
tomgranot profile image
Tom Granot Author • Edited

Do share! I kinda delegated coloring the shell to grc and starship, to be honest.

Oh-my-zsh is legit amazing, btw.

Collapse
aaronslwalker profile image
Aaron Walker

I used the syntax from this Stack Overflow post:
stackoverflow.com/a/52908761/428945