E3-464: Change iocsh PS1 to show IOCNAME
1 unresolved thread
1 unresolved thread
Merge request reports
Activity
Filter activity
requested review from @anderslindh1, @douglasaraujo, and @simonrose
158 158 function iocsh_ps1() { 159 159 local iocsh_ps1="" 160 160 local pid="$1" 161 # Keep only short hostname (without domain) 162 local host=${HOSTNAME%%.*} 163 161 164 iocsh_ps1+=${host:0:15} 165 iocsh_ps1+="-" 166 iocsh_ps1+=$pid 162 # If IOCNAME is not set use pid instead 163 if [ -z "${IOCNAME}" ]; then mentioned in commit c00950e0
Please register or sign in to reply