Browse Source

Add install scripts

pull/1/head
Jérôme Deuchnord 5 years ago
parent
commit
1a62041e23
No known key found for this signature in database GPG Key ID: 1934652EA16ECB3B
2 changed files with 17 additions and 0 deletions
  1. +2
    -0
      Makefile
  2. +15
    -0
      scripts/install

+ 2
- 0
Makefile View File

@@ -0,0 +1,2 @@
install:
bash scripts/install

+ 15
- 0
scripts/install View File

@@ -0,0 +1,15 @@
#!/bin/bash

if [ -f "${HOME}/.vimrc" ]; then
#mv ${HOME}/.vimrc $HOME .vimrc.old
echo "There was already a .vimrc file, renamed to .vimrc.old"
fi
if [ -d "${HOME}/.vim" ]; then
#mv ${HOME}/.vim ${HOME} .vim.old
echo "There was already a .vim folder, renamed to .vim.old"
fi

#cp vim $HOME/.vim
#cp vimrc $HOME/.vimrc



Loading…
Cancel
Save