Correctly export the ssh
function.
This commit is contained in:
parent
a8b39be7c7
commit
5b6f5f8bed
2
.bashrc
2
.bashrc
|
@ -127,7 +127,7 @@ if ! alias ll >/dev/null 2>&1; then function ll() { ls -l ${@}; } && export -f l
|
||||||
[[ -x $(which gsort 2>/dev/null) ]] && function sort() { gsort ${@}; } && export -f sort
|
[[ -x $(which gsort 2>/dev/null) ]] && function sort() { gsort ${@}; } && export -f sort
|
||||||
[[ -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"
|
||||||
function ssh() { $(which ssh) -axt ${@} "screen -xRRAUO || bash"; }
|
function ssh() { $(which ssh) -axt ${@} "screen -xRRAUO || bash"; } && export -f ssh
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
||||||
#--------------------------------------------------------------------------------
|
#--------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue