X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=58ff6a613a8f664e2f81f4953e835d29bfd734c1;hb=3b39caa176bd42aa188d7aa9a46aac58309aaca5;hp=00cf7feb6494f9ef65ad97527727574be4cdccb9;hpb=7621f9f5110f33a52256c30659935be0fbdbe889;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 00cf7fe..58ff6a6 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -638,12 +638,6 @@ bindkey '\e[8~' end-of-somewhere # end bindkey '\e[A' up-line-or-search # cursor up bindkey '\e[B' down-line-or-search # - -## alt-backspace is already the default for backwards-delete-word -## let's also set alt-delete for deleting current word (right of cursor) -#k# Kill right-side word -bindkey '^[[3~' delete-word # Modeswitch -bindkey '^[[3;3~' delete-word # Alt_L - ## use Ctrl-left-arrow and Ctrl-right-arrow for jumping to word-beginnings on the CL bindkey "\e[5C" forward-word bindkey "\e[5D" backward-word @@ -2279,6 +2273,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}