From 4a05d5437146724488b31cab7d89707a13356c7b Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Tue, 4 Nov 2025 09:37:35 +0100 Subject: [PATCH] feat(bash): pipe lll to less when listing dir --- .bash_aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 560703f..290cf9c 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -71,7 +71,7 @@ ll () { ls -lah $target } -# Edit the contents of a file or list the contents of a directory (with hidden files shown) if that file is not found +# Edit the contents of a file or list the contents of a directory (piped to less, with hidden files shown) if that file is not found lll () { # Set target to argument or default to current working directory local target="${1:-$(pwd)}" @@ -90,7 +90,7 @@ lll () { return 1 fi - ls -lah $target + ls -lah $target | less } .. () {