diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-26 11:08:17 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-08-26 11:08:17 +0000 |
commit | a41988aba4fa0e5286278253780804e5e3259629 (patch) | |
tree | 889aa81daf12359e99be4f5062a86c44c28d0b48 /Completion/Cvs/_cvs_setup_prefix | |
parent | 54f3a6bd29ea9ebb164a2690ae4792f0ec9290e2 (diff) | |
download | zsh-a41988aba4fa0e5286278253780804e5e3259629.tar.gz zsh-a41988aba4fa0e5286278253780804e5e3259629.tar.xz zsh-a41988aba4fa0e5286278253780804e5e3259629.zip |
Initial revision
Diffstat (limited to 'Completion/Cvs/_cvs_setup_prefix')
-rw-r--r-- | Completion/Cvs/_cvs_setup_prefix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Completion/Cvs/_cvs_setup_prefix b/Completion/Cvs/_cvs_setup_prefix new file mode 100644 index 000000000..fff4ffe88 --- /dev/null +++ b/Completion/Cvs/_cvs_setup_prefix @@ -0,0 +1,9 @@ +#autoload + +if [[ -prefix */ ]]; then + qpref="${PREFIX%/*}/" + pref=$~qpref +else + qpref= + pref=./ +fi |