From c9db2ff61a9a306609d56c54c146be106b10a993 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Tue, 4 Nov 2025 09:38:40 +0100 Subject: [PATCH] feat(bash): pipe `lll` to less when listing dir (#63) Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/63 --- .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 } .. () {