From d14d9b7a23a262545b07a7e4ffe62abd61ce9a3d Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 20 Nov 2012 05:00:15 +0000 Subject: [PATCH] new version, new tarball, a long time oversight, now if running in shell, shows the shell type, like bash, zsh, etc instead of just the plain 'shell'. --- inxi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 29a1f05..2b8310a 100755 --- a/inxi +++ b/inxi @@ -1,8 +1,8 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 1.8.22 -#### Date: November 17 2012 +#### version: 1.8.23 +#### Date: November 19 2012 #### Patch Number: 00 ######################################################################## #### SPECIAL THANKS @@ -2383,7 +2383,7 @@ get_start_client() eval $LOGFS local irc_client_path='' irc_client_path_lower='' non_native_konvi='' i='' local b_non_native_app='false' pppid='' app_working_name='' file_data='' - local b_qt4_konvi='false' + local b_qt4_konvi='false' if [[ $B_RUNNING_IN_SHELL == 'true' ]];then IRC_CLIENT='Shell' @@ -7437,6 +7437,9 @@ print_info_data() gcc_installed="${C1}Gcc sys$SEP3${C2} $gcc_installed$gcc_others " fi fi + if [[ $B_RUNNING_IN_SHELL == 'true' && -n $SHELL ]];then + IRC_CLIENT="$IRC_CLIENT ($( basename $SHELL ))" + fi # Some code could look superfluous but BitchX doesn't like lines not ending in a newline. F*&k that bitch! # long_last=$( echo -ne "${C1}Processes$SEP3${C2} ${processes}${CN} | ${C1}Uptime$SEP3${C2} ${up_time}${CN} | ${C1}Memory$SEP3${C2} ${MEM}${CN}" )