mirror of
https://github.com/smxi/inxi.git
synced 2025-09-01 18:19:10 +00:00
trimming off path in shell running in extra data
This commit is contained in:
parent
ef1e83fec9
commit
ce92d41dc1
1 changed files with 1 additions and 1 deletions
2
inxi
2
inxi
|
@ -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)"
|
||||
|
|
Loading…
Add table
Reference in a new issue