Create bash_aliases

This commit is contained in:
cedricAbonnel 2020-05-16 19:53:02 +02:00 committed by GitHub
parent c321dc2acf
commit 94b2db57d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
scripts/bash_aliases Normal file
View File

@ -0,0 +1,20 @@
#!/bin/bash
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"i
fi
alias ls='ls --color=auto'
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
alias vi='vim'
alias aptlist='cat /etc/apt/sources.list{,.d/*} 2>/dev/null | grep -v "^#"'
alias agu='sudo apt-get update'
alias agg='sudo apt-get upgrade'
alias agd='sudo apt-get dist-upgrade'
alias maj='agu && agg && agd'
alias less='less -R'
alias grep='grep --color'