X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/blobdiff_plain/3575f4092db0977d0e931dc55e9c728f5246f2c1..f8aa3578f19a27ae2b1c0d22fc7ef1b7d1fb9eb6:/zshrc?ds=inline diff --git a/zshrc b/zshrc index 7f0df9b..10edaa9 100644 --- a/zshrc +++ b/zshrc @@ -7,6 +7,9 @@ # notice and this notice are preserved. This file is offered as-is, # without any warranty. +# Default shell options +setopt EXTENDED_GLOB + if [[ -n $HOME ]]; then HISTFILE=$HOME/.zsh_history SAVEHIST=10000 @@ -100,10 +103,15 @@ export LANG=en_CA.UTF-8 export LC_COLLATE=ja_JP.UTF-8 # Default options for various utilities. -alias ls='ls --time-style=long-iso --color=auto' +alias ls='ls -N --time-style=long-iso --color=auto' alias grep='grep --color=auto' # I hate mistakes alias mv='mv -i' alias rm='rm -i' alias cp='cp -i' + +# Common aliases +alias vv='$EDITOR ~/.zshrc && source ~/.zshrc' +alias ll='ls -l' +alias lr='ls -rtl'