trimming off path in shell running in extra data

This commit is contained in:
inxi-svn 2014-05-22 23:46:30 +00:00
parent ef1e83fec9
commit ce92d41dc1

2
inxi
View file

@ -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)"