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'.
This commit is contained in:
inxi-svn 2012-11-20 05:00:15 +00:00
parent b668b4c4f3
commit d14d9b7a23

9
inxi
View file

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
######################################################################## ########################################################################
#### Script Name: inxi #### Script Name: inxi
#### version: 1.8.22 #### version: 1.8.23
#### Date: November 17 2012 #### Date: November 19 2012
#### Patch Number: 00 #### Patch Number: 00
######################################################################## ########################################################################
#### SPECIAL THANKS #### SPECIAL THANKS
@ -2383,7 +2383,7 @@ get_start_client()
eval $LOGFS eval $LOGFS
local irc_client_path='' irc_client_path_lower='' non_native_konvi='' i='' 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_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 if [[ $B_RUNNING_IN_SHELL == 'true' ]];then
IRC_CLIENT='Shell' IRC_CLIENT='Shell'
@ -7437,6 +7437,9 @@ print_info_data()
gcc_installed="${C1}Gcc sys$SEP3${C2} $gcc_installed$gcc_others " gcc_installed="${C1}Gcc sys$SEP3${C2} $gcc_installed$gcc_others "
fi fi
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! # 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}" ) # long_last=$( echo -ne "${C1}Processes$SEP3${C2} ${processes}${CN} | ${C1}Uptime$SEP3${C2} ${up_time}${CN} | ${C1}Memory$SEP3${C2} ${MEM}${CN}" )