Update dotfiles script to add edit function