Also check if dockerd is running
This commit is contained in:
parent
0cd17de71c
commit
8bf4d4d75a
|
@ -11,7 +11,7 @@ command -v rustup >/dev/null 2>&1 &&
|
|||
{ rustup update; echo; }
|
||||
command -v nvim >/dev/null 2>&1 &&
|
||||
{ nvim --headless +PlugUpdate +PlugUpgrade +qa; echo; }
|
||||
command -v docker >/dev/null 2>&1 && [ -n "$(sudo docker images -q)" ] &&
|
||||
command -v docker >/dev/null 2>&1 && [ -n "$(sudo docker images -q 2>/dev/null)" ] &&
|
||||
{ sudo sh -c "docker images |
|
||||
awk '(NR>1) && (\$2!~/none/) {print \$1\":\"\$2}' |
|
||||
xargs -l docker pull"; echo; }
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
export PATH="$HOME/.local/bin:$PATH"
|
||||
(( ${+commands[go]} )) && export PATH="$(go env GOPATH)/bin:$PATH"
|
||||
|
||||
# Language
|
||||
export LANG="en_US.UTF-8"
|
||||
export LC_COLLATE="C"
|
||||
|
||||
# Essentials
|
||||
export PAGER="less"
|
||||
export TERM="xterm-256color"
|
||||
|
|
Loading…
Reference in a new issue