Fix SSH command for GIT.
This commit is contained in:
parent
e44adbb0b6
commit
3f544b3cb3
1
.bashrc
1
.bashrc
|
@ -128,6 +128,7 @@ if ! alias ll >/dev/null 2>&1; then function ll() { ls -l ${@}; } && export -f l
|
||||||
[[ -x /bin/ps && -x $(which pstree 2>/dev/null) ]] && function ps() { if [[ ${1} =~ 'f' ]]; then pstree; else /bin/ps ${@}; fi }
|
[[ -x /bin/ps && -x $(which pstree 2>/dev/null) ]] && function ps() { if [[ ${1} =~ 'f' ]]; then pstree; else /bin/ps ${@}; fi }
|
||||||
[[ -x $(which tree 2>/dev/null) ]] && alias tree="tree -AQh --du"
|
[[ -x $(which tree 2>/dev/null) ]] && alias tree="tree -AQh --du"
|
||||||
alias _ssh="ssh -o RemoteCommand=none"
|
alias _ssh="ssh -o RemoteCommand=none"
|
||||||
|
export GIT_SSH_COMMAND="$(which ssh) -o RemoteCommand=none"
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue