dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 22916fc6c39847d909a31c9d58a22fbd0230902a
parent 3cf89c8548dfa1706b78d4432bed16be550cadac
Author: Anders Damsgaard <andersd@riseup.net>
Date:   Mon, 25 Sep 2017 09:38:44 -0400

add and modify shortcuts for sorted listing of directories

Diffstat:
M.zshrc | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.zshrc b/.zshrc @@ -54,7 +54,9 @@ if [[ "$ARCH" != 'Darwin' ]]; then function say() { echo "$@" | festival --tts; } fi function lt() { ls -ltrsa "$@" | tail -n $(( $LINES - 10 )); } -function lT() { ls -ltrsa "$@" | head -n $(( $LINES - 9 )); } +function lT() { ls -ltsa "$@" | tail -n $(( $LINES - 10 )); } +function lz() { ls -laShr "$@" | tail -n $(( $LINES - 10 )); } +function lZ() { ls -laSh "$@" | tail -n $(( $LINES - 10 )); } function psgrep() { ps axuf | grep -v grep | grep "$@" -i --color=auto; } function cgrep() { egrep --color -i "$@|$"; } function fname() { find . -iname "*$@*"; }