aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2019-12-22 10:17:00 -0700
committerkatherine <ageha@airen-no-jikken.icu>2019-12-22 10:17:00 -0700
commit3fe06e664ac6416107690d6704dac76f209af885 (patch)
tree2ced341a46f71eda26292a20bd7bdb49a87224b3
parent24ca411874b1d6655fa9d2f0a139c9b448192a67 (diff)
downloaddotfiles-3fe06e664ac6416107690d6704dac76f209af885.tar.gz
fix .zprofile-dtach globbing
-rw-r--r--.zprofile-dtach2
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 "> "