create .ssh directory if non-existent
This commit is contained in:
parent
23b6439d6b
commit
465939a58c
@ -1,6 +1,6 @@
|
|||||||
if [[ ! -d $HOME/.ssh ]]; then
|
if [[ ! -d $HOME/.ssh ]]; then
|
||||||
echo $HOME/.ssh not found, exiting...
|
echo "$HOME/.ssh not found, creating now..."
|
||||||
return 1
|
mkdir ~/.ssh && chmod 700 ~/.ssh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
typeset _agent_forwarding _ssh_env_cache
|
typeset _agent_forwarding _ssh_env_cache
|
||||||
|
Loading…
Reference in New Issue
Block a user