Skip to content

Commit a80411a

Browse files
committed
fix pip need sudo
1 parent 9eff9be commit a80411a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

install-plugins.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function init {
1717
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
1818
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
1919

20-
pip install flake8 # for vim-flake8
20+
sudo pip install flake8 # for vim-flake8
2121

2222
install
2323

@@ -27,8 +27,6 @@ function init {
2727
}
2828

2929
function rebuild() {
30-
set -e
31-
set -o pipefail
3230
cd ~/.vim/plugged/YouCompleteMe && git submodule update --init --recursive && ./install.py "$@"
3331
}
3432

0 commit comments

Comments
 (0)