diff --git a/shrc b/shrc index 42979c9..b90cf1e 100755 --- a/shrc +++ b/shrc @@ -614,7 +614,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"