Commit ba34b629 authored by Nicolas Lenz's avatar Nicolas Lenz

No id file in ssh command

parent 85e6b1bb
......@@ -31,7 +31,7 @@ alias -g ':bg'="&>/dev/null &!" # Start a program in background silently.
# The git username/mail still has to be set for the root user.
alias sgit='echo "Warning: Using git as root." \
&& sudo SSH_AUTH_SOCK="/run/user/1000/ssh-agent.socket" \
GIT_SSH_COMMAND="ssh -i ~nicolas/.ssh/id_ed25519 -F ~nicolas/.ssh/config" git'
GIT_SSH_COMMAND="ssh -F $HOME/.ssh/config" git'
# Show this file as help
alias thelp="head -n-3 /etc/zsh/alias-tools.zsh"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment