Using dirname zsh instead of pwd to get script directory
Extended .gitignore file to ignore vim swap files