1
0
Fork 0

add auto-update alias

This commit is contained in:
VirtuBox 2018-09-13 17:12:54 +02:00
parent d9b6e3360c
commit beefe4eb55
1 changed files with 6 additions and 0 deletions

View File

@ -25,9 +25,15 @@ decompress_pigz() {
tar -I pigz -xvf $1
}
update_git_mybashrc() {
git -C $HOME/.mybashrc pull
source $HOME/.bashrc
}
alias wp='wp --allow-root'
alias gzip=compress_pigz
alias gunzip=decompress_pigz
alias mybashrc_update=update_git_mybashrc
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"