diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/_unison | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_unison b/Completion/Unix/Command/_unison index 2a3333742..d8cf7458f 100644 --- a/Completion/Unix/Command/_unison +++ b/Completion/Unix/Command/_unison @@ -86,7 +86,7 @@ _arguments \ if [[ $state == profile ]]; then local -a profiles - profiles=( ~/.unison/*.prf(N) ) + profiles=( ${UNISON:-~/.unison}/*.prf(N) ) (( $#profiles )) && \ - compadd "$@" - ${${profiles#~/.unison/}%.prf} + compadd "$@" - ${${profiles#${UNISON:-~/.unison}/}%.prf} fi |