mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
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:
parent
b668b4c4f3
commit
d14d9b7a23
9
inxi
9
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}" )
|
||||
|
|
Loading…
Reference in a new issue