diff options
-rw-r--r-- | .zprofile-dtach | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zprofile-dtach b/.zprofile-dtach index b2256cb..ab422d2 100644 --- a/.zprofile-dtach +++ b/.zprofile-dtach @@ -18,7 +18,7 @@ if [[ -z "${DTACH_SUB}" ]]; then # list sessions set -- $tmpdir/dtach* if [[ "$#" -gt 0 ]]; then - ls $tmpdir/dtach* | sed "s/\$tmpdir\/dtach-//g" + ls $tmpdir/dtach* | sed 's/.*\/dtach-//g' fi echo -n "> " |