From 8bf4d4d75af5b63128aa33fb25be01a782b3072c Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Sat, 4 Mar 2023 16:12:57 +0100 Subject: [PATCH] Also check if dockerd is running --- scripts/.local/bin/update.sh | 2 +- zsh/.config/zsh/.zshenv | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/.local/bin/update.sh b/scripts/.local/bin/update.sh index 4d1c8b5..8f85d4f 100755 --- a/scripts/.local/bin/update.sh +++ b/scripts/.local/bin/update.sh @@ -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; } diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv index a130d82..73b970a 100644 --- a/zsh/.config/zsh/.zshenv +++ b/zsh/.config/zsh/.zshenv @@ -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"