From a8358758682d3171be500eb869d5d4941eaa0a98 Mon Sep 17 00:00:00 2001 From: Legolas Bloom Date: Tue, 21 Mar 2017 15:45:04 +0800 Subject: [PATCH 1/2] chmod 775 --- fonts/install-fonts.sh | 0 install-plugins.sh | 0 install.sh | 0 scripts/init-vim-centos.sh | 0 scripts/init-vim-osx.sh | 0 scripts/init-vim-ubuntu.sh | 0 6 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 fonts/install-fonts.sh mode change 100644 => 100755 install-plugins.sh mode change 100644 => 100755 install.sh mode change 100644 => 100755 scripts/init-vim-centos.sh mode change 100644 => 100755 scripts/init-vim-osx.sh mode change 100644 => 100755 scripts/init-vim-ubuntu.sh diff --git a/fonts/install-fonts.sh b/fonts/install-fonts.sh old mode 100644 new mode 100755 diff --git a/install-plugins.sh b/install-plugins.sh old mode 100644 new mode 100755 diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 diff --git a/scripts/init-vim-centos.sh b/scripts/init-vim-centos.sh old mode 100644 new mode 100755 diff --git a/scripts/init-vim-osx.sh b/scripts/init-vim-osx.sh old mode 100644 new mode 100755 diff --git a/scripts/init-vim-ubuntu.sh b/scripts/init-vim-ubuntu.sh old mode 100644 new mode 100755 From faf146488ed00f2c3ceec90ad5c0da8aab2efcbf Mon Sep 17 00:00:00 2001 From: Legolas Bloom Date: Tue, 21 Mar 2017 15:46:37 +0800 Subject: [PATCH 2/2] sudo when cp vimrc --- install-plugins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-plugins.sh b/install-plugins.sh index c9913b5..7043c5c 100755 --- a/install-plugins.sh +++ b/install-plugins.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash function install { - cp vimrc $HOME/.vimrc + sudo cp vimrc $HOME/.vimrc sudo vim +PluginClean +qall sudo vim +PluginInstall +qall }