diff --git a/shrc b/shrc index d74911c..a28ad14 100755 --- a/shrc +++ b/shrc @@ -608,7 +608,8 @@ dt(){ if test -n "${__MY_DTACH}" then - echo "Current session: ${__MY_DTACH}" + soc_name="`echo $__MY_DTACH | sed -e "s ^$__dtach_dir/ "`" + echo "Current session: ${soc_name}" fi if test -z "$1"