Compleate the unix install file of all the vim plugins
This commit is contained in:
parent
3c7b6150b9
commit
fd2eb0843d
2 changed files with 17 additions and 4 deletions
|
|
@ -1,4 +1,9 @@
|
|||
Install
|
||||
Install Unix
|
||||
|
||||
Warning this install will override any dotfiles and the full vim bundle directory!
|
||||
```
|
||||
git clone https://github.com/AdeAttwood/Dotfiles.git ~/.dotfiles
|
||||
chmod +x ~/.dotfiles/install/install_unix.sh
|
||||
~/.dotfiles/install/install_unix.sh
|
||||
```
|
||||
|
||||
|
|
|
|||
14
install/install_unix.sh
Normal file → Executable file
14
install/install_unix.sh
Normal file → Executable file
|
|
@ -10,8 +10,16 @@ ln -sf ~/.dotfiles/dotfiles/Xresources ~/.Xresources
|
|||
# Link to the tmuxinator dir
|
||||
ln -sf ~/.dotfiles/dotfiles/tmuxinator ~/.tmuxinator
|
||||
|
||||
# Make vim dir tree
|
||||
mkdir ~/.vim/autoload ~/.vim/bundle/
|
||||
# Link to vim autoload plugin
|
||||
# Link to vim plugin autoloader
|
||||
mkdir -p ~/.vim/autoload
|
||||
ln -sf ~/.dotfiles/dotfiles/vim/autoload/pathogen.vim ~/.vim/autoload/pathogen.vim
|
||||
|
||||
# Install vim plugins
|
||||
rm -rf ~/.vim/bundle
|
||||
mkdir -p ~/.vim/bundle
|
||||
cd ~/.dotfiles
|
||||
git submodule init
|
||||
git submodule update
|
||||
ln -sf ~/.dotfiles/dotfiles/vim/bundle/* ~/.vim/bundle
|
||||
cd ~/
|
||||
echo "All dotfiles have been installed"
|
||||
|
|
|
|||
Loading…
Reference in a new issue