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 804ee8e..93c5421 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