X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/39c1e2a1224cfb703fa3e3cd2909821013976bc5..0eaff6d606e461d6379657c0da03c484d3288d3d:/.zsh/zshrc/30_aliases?ds=sidebyside diff --git a/.zsh/zshrc/30_aliases b/.zsh/zshrc/30_aliases index 3bc9fbc..fe37189 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,11 +43,14 @@ 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 +# #183394 +alias w='w|cat' + alias egrep='egrep --color=auto -d skip' alias fgrep='fgrep --color=auto -d skip' alias grep='grep --color=auto -d skip'