mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-24 04:29:25 +02:00
improving my docker helper
This commit is contained in:
parent
40a65a630c
commit
91aaaad946
1 changed files with 2 additions and 1 deletions
|
|
@ -11,7 +11,8 @@ USAGE
|
|||
|
||||
function dock_clean {
|
||||
docker rm $(docker ps -a -q);
|
||||
docker rmi $(docker images | grep "^<none>" | awk "{print $3}");
|
||||
|
||||
[ "$1" = "images" ] && docker rmi $(docker images -q);
|
||||
}
|
||||
|
||||
function dock_info {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue