diff --git a/plugins/ssh-agent/ssh-agent.plugin.zsh b/plugins/ssh-agent/ssh-agent.plugin.zsh index 794dabe1..c2d4b4b5 100644 --- a/plugins/ssh-agent/ssh-agent.plugin.zsh +++ b/plugins/ssh-agent/ssh-agent.plugin.zsh @@ -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