fix shell scripts

This commit is contained in:
Jidbo 2019-12-11 23:55:18 +01:00
parent ebaec2c7d4
commit 004a01a005
No known key found for this signature in database
GPG key ID: 176CBC4DBB0A8965

View file

@ -18,13 +18,23 @@
- shell: - shell:
# install ohmyzsh # install ohmyzsh
- sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" -
command: 'if [ ! -d ~/.oh-my-zsh ]; then sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"; fi'
stdin: false
stdout: true
description: "Install ohmyzsh:"
quiet: false
# install vim plug for vim # install vim plug for vim
- curl -fLo vim/vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - [curl -fLo vim/vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim, "Install vim-plug for vim:"]
# install vim plug for nvim # install vim plug for nvim
- curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim - [curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim, "Install vim-plug for nvim:"]
# install vim plugins # install vim plugins
- vim +PlugInstall +qall -
command: vim +PlugInstall +qall
stdin: true
stdout: true
description: "Install vim plugins! Hit enter once if stuck:"
quiet: false
# do this last to override generated .zshrc # do this last to override generated .zshrc
- link: - link: