diff --git a/.gitignore b/.gitignore index a02f306..cb8d879 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /backups/ # Ignore plugin submodules managed by vim-plug +link/.vim/autoload link/.vim/plugins # Miscellaneous files to ignore diff --git a/bin/dotfiles b/bin/dotfiles index 226da69..48e1b6a 100755 --- a/bin/dotfiles +++ b/bin/dotfiles @@ -152,6 +152,11 @@ function do_stuff() { # Do stuff. "$1_do" "$base" "$file" done + + # Manually fix symlink to ~/.vim/autoload/plug.vim + rm -f "$HOME/.vim/autoload/plug.vim" + mkdir -p "$HOME/.vim/autoload" + ln -s "$HOME/.dotfiles/vendor/vim-plug/plug.vim" "$HOME/.vim/autoload/plug.vim" } # Ensure that we can actually, like, compile anything. diff --git a/link/.vim/autoload/plug.vim b/link/.vim/autoload/plug.vim deleted file mode 120000 index aac3422..0000000 --- a/link/.vim/autoload/plug.vim +++ /dev/null @@ -1 +0,0 @@ -/Users/iKevinY/.dotfiles/vendor/vim-plug/plug.vim \ No newline at end of file