diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-14 05:16:31 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-01-14 05:16:31 +0900 |
| commit | fefc603703b46a57326df98565f78b83508e5df7 (patch) | |
| tree | 05b1e2ccadc0e5601884d7e807133b0fab68f4a3 /ar/.local/bin | |
| parent | 4c51024570be5c61c564e8b43bfd430e391b58b1 (diff) | |
modified bin/opensessions
Diffstat (limited to 'ar/.local/bin')
| -rwxr-xr-x | ar/.local/bin/opensessions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ar/.local/bin/opensessions b/ar/.local/bin/opensessions index d16f42f..e05e68a 100755 --- a/ar/.local/bin/opensessions +++ b/ar/.local/bin/opensessions @@ -9,7 +9,7 @@ dirs=$(echo "$dirs" | tr -s ' ' '\n' | sed '/^$/d') # function to clean and create a valid session name get_session_name() { - basename "$1" | sed 's/[^a-zA-Z0-9]/_/g' + basename "$1" | sed 's/[^a-zA-Z0-9-]/_/g' } set -- $dirs |
