1 # Find a path, preferring the target user's version.
2 function find_target_profile() {
5 for dir in $HOME $PROFILE_HOME; do
6 if [ -e "$dir/$path" ]; then
15 # Find a path, preferring the source user's version.
16 function find_source_profile() {
17 local path="$1"; shift
19 for dir in $PROFILE_HOME $HOME; do
20 if [ -e "$dir/$path" ]; then