????????????????????????????????????fifteen In vim: :set fileformat will report which of unix or dos vim thinks the file's line endings are in. You may adjust it by :established fileformat=unix.1 You'll be able to simplyfy this a bit a lot more. Just Check out whether it's managing and assign the env variables. And after that include AddKeysToAgent