aboutsummaryrefslogtreecommitdiff
path: root/incoming/post-local
diff options
context:
space:
mode:
Diffstat (limited to 'incoming/post-local')
-rwxr-xr-xincoming/post-local/.99-tba-ls4
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,^./, ,'