replace ubuntu with archlinux in the docker command; it's faster to install

This commit is contained in:
romkatv 2019-10-04 08:00:06 +02:00
parent 6f11dca7d3
commit 2862e5f395

View file

@ -155,9 +155,9 @@ Try Powerlevel10k in Docker. You can safely make any changes to the file system
the theme. Once you exit zsh, the image is deleted.
```zsh
docker run -e LANG=C.UTF-8 -e LC_ALL=C.UTF-8 -e TERM -it --rm ubuntu bash -uexc '
cd && apt update && apt install -y zsh git
git clone https://github.com/romkatv/powerlevel10k.git
docker run -e LANG=en_US.utf8 -e TERM -it --rm archlinux/base bash -uexc '
pacman -Sy --noconfirm zsh git
git clone https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo "source ~/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc
cd ~/powerlevel10k
exec zsh'