Skip to content

Commit

Permalink
Added docker-cleanup alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnerWill committed Jul 17, 2024
1 parent b77118a commit 33c6c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .config/zsh/zsh/user/zsh.d/71_vendor_aliases.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ if [[ "${commands[docker]}" ]]; then
alias docker-run-archlinux='clear; printf "\x1B[0;1;38;5;51mSTARTING ARCH LINUX IN DOCKER\x1B[0m\n"; docker run --interactive --tty archlinux'
alias dockers="docker search --no-trunc"
alias aws-docker="docker run --rm -it amazon/aws-cli"
alias docker-cleanup='docker rm -f $(docker ps -aq) ; docker rmi -f $(docker images -aq)'
alias docker-cleanup='docker rm -f $(docker ps -aq) 2>/dev/null ; docker rmi -f $(docker images -aq) 2>/dev/null'
if [[ "${commands[lazydocker]}" ]]; then
alias docker-lazy='lazydocker'
fi
Expand Down

0 comments on commit 33c6c21

Please sign in to comment.