mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
Fix bug #4753, thanks Cengiz Gunay.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34001 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
879ed8e2ed
commit
f151e820ce
@ -1181,6 +1181,7 @@ scriptsdir = $(pkgdatadir)/scripts
|
|||||||
# Note that we "chmod 755" manually these files in install-data-hook.
|
# Note that we "chmod 755" manually these files in install-data-hook.
|
||||||
dist_scripts_PYTHON = \
|
dist_scripts_PYTHON = \
|
||||||
scripts/TeXFiles.py \
|
scripts/TeXFiles.py \
|
||||||
|
scripts/bash_completion \
|
||||||
scripts/clean_dvi.py \
|
scripts/clean_dvi.py \
|
||||||
scripts/csv2lyx.py \
|
scripts/csv2lyx.py \
|
||||||
scripts/convertDefault.py \
|
scripts/convertDefault.py \
|
||||||
|
22
lib/scripts/bash_completion
Normal file
22
lib/scripts/bash_completion
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
# 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
|
Loading…
Reference in New Issue
Block a user