Skip to content

Instantly share code, notes, and snippets.

@discatte
Created July 4, 2021 20:49
Show Gist options
  • Select an option

  • Save discatte/99958aec89192ff5f7281cc993128f40 to your computer and use it in GitHub Desktop.

Select an option

Save discatte/99958aec89192ff5f7281cc993128f40 to your computer and use it in GitHub Desktop.
dot file linkup
#!/bin/bash
ln -si $PWD/.vimrc $HOME/
ln -si $PWD/.vimrc.languages $HOME/
ln -si $PWD/.vimrc.folders $HOME/
ln -si $PWD/.gitconfig $HOME/
ln -si $PWD/.gitignore $HOME/
ln -si $PWD/.bash_profile $HOME/
ln -si $PWD/.ctags $HOME/
ln -si $PWD/.vim $HOME/
ln -si $PWD/bin $HOME/
read -p "rm/git: install/replace Vundle? " replace_vundle
if [ $replace_vundle == "y" ]; then
rm -rf .vim/bundle/Vundle.vim
git clone https://github.com/gmarik/Vundle.vim.git .vim/bundle/Vundle.vim
fi
vi +PluginInstall +qall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment