]> git.donarmstrong.com Git - zsh.git/commitdiff
return to proper lscontext
authormartin f. krafft <madduck@madduck.net>
Mon, 14 Jul 2008 15:37:39 +0000 (17:37 +0200)
committermartin f. krafft <madduck@madduck.net>
Mon, 14 Jul 2008 15:37:39 +0000 (17:37 +0200)
.zsh/zshrc/30_aliases

index 67d8351431f400ae3050c003c5c2b8ace6148d89..120640e2a140b4c073262145dbf08f9271b529f5 100644 (file)
@@ -43,7 +43,7 @@ alias lart='ls -lart'
 # List only directories and symbolic links that point to directories
 alias lsd='ll -d *(-/DN)'
 
-alias lscontext='print -l -- ${${(f):-"$(lrt)"}[-$((LINES/2)),-1]}'
+alias lscontext=ll
 cd () { __CHPWD_RUN_FIRST=lscontext && builtin cd "$@" && unset __CHPWD_RUN_FIRST }
 #_cd_l() { ll }
 #chpwd_functions+=_cd_l