aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Lasseter <user@4574.co.uk>2024-04-08 13:03:51 +0100
committerNat Lasseter <user@4574.co.uk>2024-04-08 13:03:51 +0100
commit250a1985009ae5034ad23e7b1db171a41fabdb95 (patch)
tree03fbf586ca7002b6ade6853bf39f4eed5f993e3b
parent22ba41cd971f9de95f4242f8fea960d2085cddf8 (diff)
Added tba-ls
-rwxr-xr-xincoming/post-local/.99-tba-ls10
1 files changed, 10 insertions, 0 deletions
diff --git a/incoming/post-local/.99-tba-ls b/incoming/post-local/.99-tba-ls
new file mode 100755
index 0000000..bd181f8
--- /dev/null
+++ b/incoming/post-local/.99-tba-ls
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+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 " .."
+find -L . -maxdepth 1 \! -iname '.*' -type d | sed 's,^./, ,'