]> arthur.barton.de Git - ax-zsh.git/blob - default_plugins/ssh/ssh.zprofile
less: Set up color usage
[ax-zsh.git] / default_plugins / ssh / ssh.zprofile
1 # AX-ZSH: Alex' Modular ZSH Configuration
2 # ssh.zprofile: Setup (Open-) SSH
3
4 # Make sure that "ssh(1)" is installed
5 (( $+commands[ssh] )) || return
6
7 unset ssh_cmd
8 (( $+commands[ssh-q] )) && ssh_cmd="ssh-q"
9 (( $+commands[ssh-wrapper] )) && ssh_cmd="ssh-wrapper"
10 if [[ -n "$ssh_cmd" ]]; then
11         export GIT_SSH="$ssh_cmd"
12 fi
13 unset ssh_cmd