X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=3fa6c5b262e591217d709b1a499cf4988e1db143;hb=dffa45464d731201c72023092498d532d1799920;hp=00cf7feb6494f9ef65ad97527727574be4cdccb9;hpb=7621f9f5110f33a52256c30659935be0fbdbe889;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 00cf7fe..3fa6c5b 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2279,6 +2279,10 @@ alias lsnew="ls -rtlh *(D.om[1,10])" # display the newest files alias lsold="ls -rtlh *(D.Om[1,10])" # display the oldest files #a2# Display the ten smallest files alias lssmall="ls -Srl *(.oL[1,10])" # display the smallest files +#a2# Display the ten newest directories and ten newest .directories +alias lsnewdir="ls -rthdl *(/om[1,10]) .*(D/om[1,10])" +#a2# Display the ten oldest directories and ten oldest .directories +alias lsolddir="ls -rthdl *(/Om[1,10]) .*(D/Om[1,10])" # some useful aliases #a2# Remove current empty directory. Execute \kbd{cd ..; rmdir $OLDCWD}