summary refs log tree commit diff
path: root/Completion/Cvs/_cvs_setup_prefix
blob: fff4ffe88802dd7d69c69e0174bb86a790566aed (plain) (blame)
1
2
3
4
5
6
7
8
9
#autoload

if [[ -prefix */ ]]; then
  qpref="${PREFIX%/*}/"
  pref=$~qpref
else
  qpref=
  pref=./
fi