From ce92d41dc1f2035d07b1335b8cf2a908be604f45 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 22 May 2014 23:46:30 +0000 Subject: [PATCH] trimming off path in shell running in extra data --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index f6a3d8a..64f617d 100755 --- a/inxi +++ b/inxi @@ -10332,7 +10332,7 @@ print_info_data() if [[ $shell_parent == 'login' ]];then shell_parent='' elif [[ -n $shell_parent ]];then - shell_parent=" running in $shell_parent" + shell_parent=" running in ${shell_parent##*/}" fi fi IRC_CLIENT="$IRC_CLIENT ($shell_data$shell_parent)"