mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-04 09:01:06 +01:00
moved from Completion/User/_pspdf
This commit is contained in:
parent
42bbc7f968
commit
373aeadf6c
1 changed files with 14 additions and 0 deletions
14
Completion/Unix/Type/_pspdf
Normal file
14
Completion/Unix/Type/_pspdf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#compdef gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv ggv pstoedit pstotgif
|
||||
|
||||
local expl ext
|
||||
|
||||
# ghostscript:
|
||||
# gs gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii
|
||||
|
||||
if [[ "$1" == '-z' ]]; then
|
||||
ext='(|.gz|.Z)'
|
||||
shift
|
||||
fi
|
||||
|
||||
_description files expl 'PostScript or PDF file'
|
||||
_files "$@" "$expl[@]" -g "*.(#i)(pdf|ps|eps)$ext"
|
||||
Loading…
Add table
Add a link
Reference in a new issue