clmbmb, 1 year ago As the others have said, your first issue is using blank spaces before and after = Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this: <span style="color:#323232;">$ alias dockps='docker ps --format "table {{.ID}} {{.Names}} {{.Status}} {{.Ports}}"' </span>
As the others have said, your first issue is using blank spaces before and after =
=
Then, when you need to use double quotes in a command, the alias should be defined with single quotes, like this:
<span style="color:#323232;">$ alias dockps='docker ps --format "table {{.ID}} {{.Names}} {{.Status}} {{.Ports}}"' </span>