mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
trimming off path in shell running in extra data
This commit is contained in:
parent
ef1e83fec9
commit
ce92d41dc1
2
inxi
2
inxi
|
@ -10332,7 +10332,7 @@ print_info_data()
|
||||||
if [[ $shell_parent == 'login' ]];then
|
if [[ $shell_parent == 'login' ]];then
|
||||||
shell_parent=''
|
shell_parent=''
|
||||||
elif [[ -n $shell_parent ]];then
|
elif [[ -n $shell_parent ]];then
|
||||||
shell_parent=" running in $shell_parent"
|
shell_parent=" running in ${shell_parent##*/}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
IRC_CLIENT="$IRC_CLIENT ($shell_data$shell_parent)"
|
IRC_CLIENT="$IRC_CLIENT ($shell_data$shell_parent)"
|
||||||
|
|
Loading…
Reference in a new issue