aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--passage.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/passage.in b/passage.in
index 727d853..309fc00 100644
--- a/passage.in
+++ b/passage.in
@@ -86,7 +86,7 @@ pretty_list() {
find ./"${1}" -type d \( -not -name '.*' \) | sed -E 's|$|/|; s|/+$|/|'
find ./"${1}" \( -type f -name '*.age' \)
shift
- done | sed -E 's|\.age$||; s|^(\./)+||g' | sort -d
+ done | sed -E 's|\.age$||; s|^(\./)+||g; s|^/+||' | sort -d
}
## Modes