Browse Source

shrc: fix printing session name in dt

pull/1/head
10sr 10 years ago
parent
commit
69c3cd4252
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      shrc

+ 2
- 1
shrc View File

@@ -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"


Loading…
Cancel
Save