1 2 3 4 5 6
#!/bin/sh DIR=$(dirname "$0") cd "$DIR" || exit ln -sf "$(pwd)/.vimrc" "$HOME/.vimrc" rm -rf "$HOME/.vim"