Sfoglia il codice sorgente

Set up link from home to vimrc

DricomDragon 4 anni fa
parent
commit
418480ab74
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 0 0
      Install/Templates/home/vim/vimrc
  2. 4 1
      Install/dev-custom

Install/Templates/examples/vimrc → Install/Templates/home/vim/vimrc


+ 4 - 1
Install/dev-custom

@@ -1,7 +1,10 @@
 #!/usr/bin/fish
 
+# Make sure parent folder exists
+mkdir --parents $HOME/.vim
+
 # Customize configurations
-cp --link ./Templates/examples/vimrc $HOME/.vim/vimrc
+cp --link Templates/home/vim/vimrc $HOME/.vim/vimrc
 cp --link Templates/home/config/gitignore $HOME/.config/gitignore
 
 # Set bat color theme