doas can't really remember authentication state across execution scopes
This commit is contained in:
parent
49a96ad29c
commit
7510a6dde8
|
@ -24,10 +24,10 @@ command -v rustup >/dev/null 2>&1 &&
|
|||
command -v nvim >/dev/null 2>&1 &&
|
||||
{ echo; nvim --headless +PlugUpdate +PlugUpgrade +qa; echo; }
|
||||
command -v docker >/dev/null 2>&1 &&
|
||||
[ "$(sudo docker images | wc -l)" -gt 1 ] &&
|
||||
{ echo; sudo docker images |
|
||||
awk '(NR>1) && ($2!~/none/) {print $1":"$2}' |
|
||||
xargs -l sudo docker pull; }
|
||||
{ echo; sudo sh -c "[ \"\$(docker images | wc -l)\" -gt 1 ] &&
|
||||
docker images |
|
||||
awk '(NR>1) && (\$2!~/none/) {print \$1\":\"\$2}' |
|
||||
xargs -l docker pull"; }
|
||||
|
||||
echo
|
||||
zsh -ic "antidote update && echo && git -C $(dirname -- "$(readlink -e "$0")") pull"
|
||||
|
|
Loading…
Reference in a new issue