Browse Source

Install vim-plug after installing curl

Frans Bergman 5 years ago
parent
commit
9531d11be8
2 changed files with 5 additions and 4 deletions
  1. 4 4
      install.sh
  2. 1 0
      packages.txt

+ 4 - 4
install.sh

@@ -14,10 +14,6 @@ do
     ln -s $(realpath $f) ~/
 done
 
-fancy_print "Installing vim-plug"
-curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
-        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
-
 fancy_print "Installing packages"
 sudo xbps-install -Suy $(cat packages.txt)
 
@@ -53,6 +49,10 @@ git_make_install()
     )
 }
 
+fancy_print "Installing vim-plug"
+curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
+        https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
+
 fancy_print "Installing suckless forks"
 git_make_install "st" "https://gogs.tankernn.eu/Tankernn/st.git"
 git_make_install "dwm" "https://gogs.tankernn.eu/Tankernn/dwm.git"

+ 1 - 0
packages.txt

@@ -1,5 +1,6 @@
 base-devel
 compton
+curl
 dmenu
 feh
 font-hack-ttf