change .g updating
This commit is contained in:
@@ -117,7 +117,7 @@ beet-comments() {
|
|||||||
: "${1:?who?}"
|
: "${1:?who?}"
|
||||||
: "${2:?what?}"
|
: "${2:?what?}"
|
||||||
|
|
||||||
dedi-beet modify "comments='$2'" "albumartist:'$1'"
|
dedi-beet modify \'"comments=$2"\' \'"albumartist::$1"\'
|
||||||
}
|
}
|
||||||
|
|
||||||
rsync2() {
|
rsync2() {
|
||||||
@@ -137,7 +137,7 @@ rsync2() {
|
|||||||
"${(@)@}"
|
"${(@)@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
sync_music() {
|
sync-music() {
|
||||||
FUNCTION_PRELUDE
|
FUNCTION_PRELUDE
|
||||||
|
|
||||||
if ! is_local; then
|
if ! is_local; then
|
||||||
@@ -207,3 +207,13 @@ ffmpeg_timelapse() {
|
|||||||
"${@:2}" \
|
"${@:2}" \
|
||||||
-y "/mnt/a/$DATE.mp4"
|
-y "/mnt/a/$DATE.mp4"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_.g() {
|
||||||
|
local RES=$(.g pull)
|
||||||
|
|
||||||
|
if [[ $RES != "Already up-to-date." ]]; then
|
||||||
|
echo "Updated .g"
|
||||||
|
echo $RES
|
||||||
|
echo "======"
|
||||||
|
fi
|
||||||
|
}
|
@@ -62,4 +62,4 @@ if is_local; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# update, background+disown
|
# update, background+disown
|
||||||
.g pull &!
|
update_.g &!
|
||||||
|
Reference in New Issue
Block a user