diff options
author | katherine <ageha@airen-no-jikken.icu> | 2019-12-22 10:17:00 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2019-12-22 10:17:00 -0700 |
commit | 3fe06e664ac6416107690d6704dac76f209af885 (patch) | |
tree | 2ced341a46f71eda26292a20bd7bdb49a87224b3 /.zprofile-dtach | |
parent | 24ca411874b1d6655fa9d2f0a139c9b448192a67 (diff) | |
download | dotfiles-3fe06e664ac6416107690d6704dac76f209af885.tar.gz |
fix .zprofile-dtach globbing
Diffstat (limited to '.zprofile-dtach')
-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 "> " |