From 5b6f5f8bed95ca7b5c7e21b58131201a4eae655c Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Mon, 4 Sep 2017 15:58:05 +0100 Subject: [PATCH] Correctly export the `ssh` function. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 93c63bf..0dc24e4 100755 --- a/.bashrc +++ b/.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 /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" -function ssh() { $(which ssh) -axt ${@} "screen -xRRAUO || bash"; } +function ssh() { $(which ssh) -axt ${@} "screen -xRRAUO || bash"; } && export -f ssh #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------