1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-06 13:18:42 +02:00

import Werner Finks shell completion scripts

This commit is contained in:
2009-06-18 09:20:07 +00:00
parent 626aa36925
commit 751d3afb27
4 changed files with 306 additions and 0 deletions

12
dist/complete.csh vendored Normal file
View File

@@ -0,0 +1,12 @@
onintr -
if (! $?prompt || ! $?tcsh) goto end
if ($tcsh == 1) goto end
set rev=$tcsh:r
set rel=$rev:e
set pat=$tcsh:e
set rev=$rev:r
if ($rev > 5 && $rel > 1) then
complete osc 'p@*@`/usr/lib/osc/complete`@'
endif
end:
onintr