mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-22 10:04:34 +01:00
zsh_aliases: saved the default aliases of Ubuntu default bashrc from bashrc of bash-things.
This commit is contained in:
parent
dca7294e3a
commit
a523216923
18
zsh_aliases
18
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. --
|
||||
|
Loading…
Reference in New Issue
Block a user