fix shell scripts
This commit is contained in:
parent
ebaec2c7d4
commit
004a01a005
1 changed files with 14 additions and 4 deletions
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue