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:
12
dist/complete.csh
vendored
Normal file
12
dist/complete.csh
vendored
Normal 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
|
Reference in New Issue
Block a user