summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_sccs
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_sccs')
-rw-r--r--Completion/Unix/Command/_sccs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_sccs b/Completion/Unix/Command/_sccs
index 40463b2f1..8d7babfb7 100644
--- a/Completion/Unix/Command/_sccs
+++ b/Completion/Unix/Command/_sccs
@@ -10,7 +10,7 @@ _sccs_files() {
PREFIX="$pref"
IPREFIX="$ipref"
_wanted sccs-files expl 'sccs file' _files -W ${PROJECTDIR:-~+} \
- -g 's.*' && ret=0
+ -g 's.*(-.)' && ret=0
return ret
}
@@ -49,7 +49,7 @@ subcmds=(
ropt='-r+[specify sccs delta id]:sccs delta id'
copt='-c+[specify date]:date-stamp'
-sfiles=":file:_files -g s.\*"
+sfiles=':file:_files -g "s.*(-.)"'
if [[ $service = sccs ]]; then
_arguments -C -A "-*" \