chiark / gitweb /
dot/profile: Persuade `rsync' not to do silly things to arguments.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 6 Dec 2023 14:19:55 +0000 (14:19 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 6 Dec 2023 14:19:55 +0000 (14:19 +0000)
dot/profile

index 804ee8ec306075afe0cbdc747a4050f7e8c38023..93c5421a9c5d9ac0bf941cd3277cb7b3b71eb6b8 100644 (file)
@@ -265,6 +265,9 @@ unset b
 __mdw_setconf __MDW_ROOTLY rootly
 BECOME="--preserve-environment"; export BECOME
 
+## `rsync' configuration.
+RSYNC_PROTECT_ARGS=1; export RSYNC_PROTECT_ARGS
+
 ## It's useful to see the little sigils in `ls'.
 case ${LS_OPTIONS+t} in t) ;; *) LS_OPTIONS="-F"; export LS_OPTIONS; esac