generated from me/template-mit
Move now and today to shared env. Export all functions.
This commit is contained in:
@@ -76,7 +76,9 @@ function goodbye { update -y; bye; }
|
||||
function clone {
|
||||
rsync -auPhz --delete --exclude '.gradle' --exclude 'app/build' "$@"
|
||||
}
|
||||
export -f clone
|
||||
|
||||
function now { date "+%Y%m%d-%H%M%S"; }
|
||||
function today { date "+%Y%m%d"; }
|
||||
|
||||
# Enhance Bin Scripts #
|
||||
|
||||
@@ -90,7 +92,6 @@ function send-masters {
|
||||
done
|
||||
echo -e "\n`date` - Done checking for MASTER directories."
|
||||
}
|
||||
export -f send-masters
|
||||
|
||||
# Audio #
|
||||
|
||||
@@ -315,6 +316,9 @@ alias vta="v2a"
|
||||
alias pull-audio="v2a"
|
||||
alias pa="v2a"
|
||||
|
||||
# Export all functions! #
|
||||
eval "$(declare -F | sed 's/-f /-fx /')"
|
||||
|
||||
|
||||
## Complete! ##
|
||||
|
||||
|
||||
Reference in New Issue
Block a user