From 34826d03531fcbfe86ce2261f05fdf090b42575f Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Mon, 13 Aug 2012 23:07:58 +0200 Subject: [PATCH] Fix bug : forgot to change a 'bash' into ${WORKING_SHELL} --- liquidprompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liquidprompt b/liquidprompt index b52e1ff..1087cbf 100755 --- a/liquidprompt +++ b/liquidprompt @@ -273,7 +273,7 @@ __user() __connection() { - THIS_TTY=$(awk -v pid=$$ '$0 ~ pid && /bash/{ print $7 }' < <(ps aux) ) + THIS_TTY=$(awk -v pid=$$ '$0 ~ pid && /${WORKING_SHELL}/{ print $7 }' < <(ps aux) ) SESS_SRC=$(who | awk -v thistty="$THIS_TTY" '$0 ~ thistty { print $6 }') # Are we in an SSH connexion?