[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-320-gf186fc0
Ville Skyttä
ville.skytta at iki.fi
Tue May 24 20:13:32 UTC 2011
The following commit has been merged in the master branch:
commit 40dc2d81df2a217c674a14d34f7d03f44ad24ba4
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Tue May 24 19:55:18 2011 +0300
cvs: Make $prefix setting actually work.
diff --git a/completions/cvs b/completions/cvs
index 51a24f5..d6aea59 100644
--- a/completions/cvs
+++ b/completions/cvs
@@ -4,7 +4,7 @@ have cvs || return
set_prefix()
{
- [ -z ${prefix:-} ] || prefix=${cur%/*}/
+ [ -z ${prefix:-} ] && prefix=${cur%/*}/
[ -r ${prefix:-}CVS/Entries ] || prefix=""
}
--
bash-completion
More information about the Bash-completion-commits
mailing list