Created
December 18, 2015 11:26
-
-
Save revooms/27934226c309b6bf13a8 to your computer and use it in GitHub Desktop.
Linux shell aliase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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$//'\'')"' | |
alias apti='sudo apt-get install' | |
alias apts='apt-cache search' | |
alias egrep='egrep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias grep='grep --colour=auto' | |
alias l='ls -CF' | |
alias la='ls -A' | |
alias ll='ls -alF' | |
alias ls='ls --color=auto' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment