add auto-update alias
This commit is contained in:
parent
d9b6e3360c
commit
beefe4eb55
6
mybashrc
6
mybashrc
|
@ -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)"
|
||||
|
|
Loading…
Reference in New Issue