-# Setup PowerShell
-sudo apt-get install powershell
-chsh --shell /usr/bin/pwsh
-mkdir -p /home/delaport/.config/powershell/
-ln -s ~/dotfiles/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/Microsoft.PowerShell_profile.ps1
+if [ ! -f ~/.config/powershell/Microsoft.PowerShell_profile.ps1 ]; then
+ echo "************** Setup PowerShell"
+ chsh --shell /usr/bin/pwsh
+ mkdir -p ~/.config/powershell/
+ ln -s ~/dotfiles/Microsoft.PowerShell_profile.ps1 ~/.config/powershell/Microsoft.PowerShell_profile.ps1
+fi
+
+if [ ! -f ~/.vimrc ]; then
+ echo "************** Link Vimrc"
+ ln -s ~/dotfiles/vimrc ~/.vimrc
+fi
+
+if [ -f ~/.vimrc ]; then
+ echo "************** Configure Git to use Vim"
+ git config --global core.editor /usr/bin/vim
+fi
+
+if [ -f ~/.gitconfig ]; then
+ echo "************** Configure Git user"
+ git config --global user.email "edward@delaporte.us"
+ git config --global user.name "Edward Delaporte"
+fi
+
+echo "************** Reminder to setup GitHub key"
+echo "https://github.com/settings/keys"
+echo "vim .git/config -- add: url = git@github.com:edthedev/dotfiles.git"
+cat ~/.ssh/id_rsa.pub