X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..ea0e3c0e2538bedac1968d402db291eab78126b8:/.zsh/zshrc/30_aliases diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index a4ad3c5..a807fdf 100644 --- a/.zsh/zshrc/30_aliases +++ b/.zsh/zshrc/30_aliases @@ -32,8 +32,8 @@ command ls --group-directories-first >/dev/null 2>&1 \ # I prefer POSIX collation for ls alias ls="LC_COLLATE=POSIX ls $_ls_opts" +alias l='ls --time-style=+%Y%m%d.%H%M -gG' alias ll='ls -l' -alias l=ll alias la='ls -a' alias lla='ls -la' alias lt='ls -lt' @@ -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=ll +alias lscontext=l cd () { __CHPWD_RUN_FIRST=lscontext && builtin cd "$@" && unset __CHPWD_RUN_FIRST } #_cd_l() { ll } #chpwd_functions+=_cd_l @@ -130,6 +130,10 @@ alias dpkg-buildpackage="dpkg-buildpackage -k$DEBKEYID -rfakeroot" bugsub() { echo X-debbugs-autosubscribe: madduck | sendmail -f $DEBEMAIL ${1:?No bug number}-subscribe@bugs.debian.org } bugunsub() { sendmail -f $DEBEMAIL ${1:?No bug number}-unsubscribe@bugs.debian.org