diff options
author | Nat Lasseter <user@4574.co.uk> | 2024-04-08 13:29:00 +0100 |
---|---|---|
committer | Nat Lasseter <user@4574.co.uk> | 2024-04-08 13:29:00 +0100 |
commit | a545c01973f986d97e367f081fafac5aadde2584 (patch) | |
tree | 4de509b5200d7996f63cc4fe18c94836e515f931 /incoming/post-local/.99-tba-ls | |
parent | 250a1985009ae5034ad23e7b1db171a41fabdb95 (diff) |
Diffstat (limited to 'incoming/post-local/.99-tba-ls')
-rwxr-xr-x | incoming/post-local/.99-tba-ls | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/incoming/post-local/.99-tba-ls b/incoming/post-local/.99-tba-ls index bd181f8..d76bafb 100755 --- a/incoming/post-local/.99-tba-ls +++ b/incoming/post-local/.99-tba-ls @@ -1,10 +1,10 @@ #!/bin/bash -echo "Ye find yeself in yon $(pwd)." +echo "Ye find yeself in yon $(pwd)" echo echo "Ye see:" find -L . -maxdepth 1 \! -iname '.*' -type f | sed 's,^./, ,' echo echo "Obvious exits are:" -echo " .." +[ "$(pwd)" = '/' ] || echo " .." find -L . -maxdepth 1 \! -iname '.*' -type d | sed 's,^./, ,' |