From 250a1985009ae5034ad23e7b1db171a41fabdb95 Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Mon, 8 Apr 2024 13:03:51 +0100 Subject: Added tba-ls --- incoming/post-local/.99-tba-ls | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 incoming/post-local/.99-tba-ls 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,^./, ,' -- cgit v1.2.1