From a52321692364e52dc0ce4d59b3e91da83ce6083a Mon Sep 17 00:00:00 2001 From: Mika Suomalainen Date: Sun, 2 Oct 2011 19:52:12 +0300 Subject: [PATCH] zsh_aliases: saved the default aliases of Ubuntu default bashrc from bashrc of bash-things. --- zsh_aliases | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/zsh_aliases b/zsh_aliases index e4f7963c..253223ff 100755 --- a/zsh_aliases +++ b/zsh_aliases @@ -97,3 +97,21 @@ alias theme="prompt " alias vipw="\vipw && \vipw -s && \vipw -g && \visudo" alias visudo="\visudo && \vipw && \vipw -g && \vipw -s" alias vigr="\vigr && \vigr -s && \vigr -p && \visudo" + +## -- Start of aliases which are saved from Ubuntu default bashrc. -- + +# enable color support of ls and also add handy aliases +alias ls='ls --color=auto' +#alias dir='dir --color=auto' +#alias vdir='vdir --color=auto' +alias grep='grep --color=auto' +alias fgrep='fgrep --color=auto' +alias egrep='egrep --color=auto' +# some more ls aliases +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' +# Add an "alert" alias for long running commands. Use like so: +alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' + +## -- End of aliases which are saved from Ubuntu default bashrc. --