create .ssh directory if non-existent

This commit is contained in:
Andrew Titmuss 2016-10-15 23:08:53 +11:00
parent 23b6439d6b
commit 465939a58c
No known key found for this signature in database
GPG Key ID: 8AF42975C787E0B2

View File

@ -1,6 +1,6 @@
if [[ ! -d $HOME/.ssh ]]; then
echo $HOME/.ssh not found, exiting...
return 1
echo "$HOME/.ssh not found, creating now..."
mkdir ~/.ssh && chmod 700 ~/.ssh
fi
typeset _agent_forwarding _ssh_env_cache