git clone --depth=1 in docker

pull/298/head
romkatv 5 years ago
parent 8e8385b700
commit bb7b755c25

@ -160,7 +160,7 @@ the theme. Once you exit zsh, the image is deleted.
```zsh ```zsh
docker run -e LANG=en_US.utf8 -e TERM -it --rm archlinux/base bash -uexc ' docker run -e LANG=en_US.utf8 -e TERM -it --rm archlinux/base bash -uexc '
pacman -Sy --noconfirm zsh git pacman -Sy --noconfirm zsh git
git clone https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
echo "source ~/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc echo "source ~/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc
cd ~/powerlevel10k cd ~/powerlevel10k
exec zsh' exec zsh'

Loading…
Cancel
Save