mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
f151e820ce
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34001 a592a061-630c-0410-9148-cb99ea01b6c8
23 lines
502 B
Bash
23 lines
502 B
Bash
# lyx(1) completion
|
|
# Modified inkscape template of allali@univ-mlv.fr
|
|
# by cengique@users.sf.net
|
|
|
|
have lyx &&
|
|
_lyx()
|
|
{
|
|
local cur
|
|
|
|
COMPREPLY=()
|
|
cur=${COMP_WORDS[COMP_CWORD]}
|
|
|
|
if [[ "$cur" == -* ]]; then
|
|
COMPREPLY=( $( compgen -W '-help -userdir -sysdir \
|
|
-geometry -dbg -x --execute -e --export \
|
|
-i --import -version' -- $cur ) )
|
|
else
|
|
_filedir '@(lyx)'
|
|
fi
|
|
|
|
}
|
|
[ "${have:-}" ] && complete -F _lyx $filenames lyx
|