random commit
This commit is contained in:
parent
eaeee5242f
commit
0c14cb106d
18
mybashrc
18
mybashrc
|
@ -101,6 +101,22 @@ else
|
|||
fi
|
||||
}
|
||||
|
||||
RANDOM_GIT_COMMIT() {
|
||||
|
||||
[ ! -x /usr/bin/w3m ] && {
|
||||
apt-get install -y w3m
|
||||
}
|
||||
|
||||
git add .
|
||||
git commit -m "$(w3m whatthecommit.com | head -1)"
|
||||
|
||||
}
|
||||
|
||||
GIT_COMMIT() {
|
||||
git add .
|
||||
git commit -am "$1"
|
||||
}
|
||||
|
||||
|
||||
|
||||
MAINTENANCE_APT() {
|
||||
|
@ -254,3 +270,5 @@ alias ee-ls=LIST_BY_SIZE
|
|||
alias tinc-up=SET_TINC_UP
|
||||
alias tinc-down=SET_TINC_DOWN
|
||||
alias ffmpeg-cut-start=ffmpeg_start_time
|
||||
alias commit=GIT_COMMIT
|
||||
alias random-commit=RANDOM_GIT_COMMIT
|
||||
|
|
Loading…
Reference in New Issue