'lh' to list only 1/3 screen of newest files
dblume

dblume commited on 2024-01-17 19:46:46
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -150,7 +150,7 @@ alias clip="expand | cut -b1-\$COLUMNS"
150 150
 
151 151
 # I'm often interested in just the most recently changed file
152 152
 lh() {
153
-    ls --color=always -ltq "$@" | head -$(($LINES*2/3)) | tail --lines=+2
153
+    ls --color=always -ltq "$@" | head -$(($LINES/3)) | tail --lines=+2
154 154
 }
155 155
 
156 156
 # For httpie: https://github.com/jakubroztocil/httpie#installation
157 157