mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
Make installation more robust and working for unattended installations
This commit is contained in:
parent
f4815e9f29
commit
52b4bcec1e
|
@ -1,10 +1,8 @@
|
|||
actions:
|
||||
oh-my-zsh: if [ ! -d ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
|
||||
&& if [ -f ~/.zshrc.pre-oh-my-zsh ]; then rm ~/.zshrc && mv ~/.zshrc.pre-oh-my-zsh
|
||||
~/.zshrc; fi; fi
|
||||
oh-my-zsh: if [ ! -d ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" "" --unattended;
|
||||
if [ -f ~/.zshrc.pre-oh-my-zsh ]; then rm ~/.zshrc && mv ~/.zshrc.pre-oh-my-zsh ~/.zshrc; fi; fi
|
||||
powerlevel9k-theme: if [ ! -d ~/.oh-my-zsh/custom/themes ]; then mkdir -p ~/.oh-my-zsh/custom/themes;
|
||||
fi && if [ ! -d ~/.oh-my-zsh/custom/themes/powerlevel9k ];then git clone https://github.com/bhilburn/powerlevel9k.git
|
||||
~/.oh-my-zsh/custom/themes/powerlevel9k; fi
|
||||
fi; if [ ! -d ~/.oh-my-zsh/custom/themes/powerlevel9k ];then git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k; fi
|
||||
config:
|
||||
backup: true
|
||||
create: true
|
||||
|
|
Loading…
Reference in a new issue