1
0
Fork 0

random commit

This commit is contained in:
root 2019-04-03 15:13:57 +02:00
parent eaeee5242f
commit 0c14cb106d
1 changed files with 18 additions and 0 deletions

View File

@ -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