[Pkg-lyx-devel] svn commit: r445 - in /lyx/trunk/debian: bash_completion changelog rules
hoaxter-guest at users.alioth.debian.org
hoaxter-guest at users.alioth.debian.org
Tue Apr 1 11:13:46 UTC 2008
Author: hoaxter-guest
Date: Tue Apr 1 11:13:45 2008
New Revision: 445
URL: http://svn.debian.org/wsvn/pkg-lyx/?sc=1&rev=445
Log:
Add bash_completion and install it as /etc/bash_completion.d/lyx.
Thanks to Cengiz Gunay <cgunay at emory.edu>.
Added:
lyx/trunk/debian/bash_completion
Modified:
lyx/trunk/debian/changelog
lyx/trunk/debian/rules
Added: lyx/trunk/debian/bash_completion
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/bash_completion?rev=445&op=file
==============================================================================
--- lyx/trunk/debian/bash_completion (added)
+++ lyx/trunk/debian/bash_completion Tue Apr 1 11:13:45 2008
@@ -1,0 +1,22 @@
+# lyx(1) completion
+# Modified inkscape template of allali at univ-mlv.fr
+# by cengique at 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
Modified: lyx/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/changelog?rev=445&op=diff
==============================================================================
--- lyx/trunk/debian/changelog (original)
+++ lyx/trunk/debian/changelog Tue Apr 1 11:13:45 2008
@@ -1,8 +1,13 @@
lyx (1.5.4-2) UNRELEASED; urgency=low
+ [ Per Olofsson ]
* Add writer2latex and latex2rtf to Suggests (found in configure.py).
- -- Per Olofsson <pelle at debian.org> Fri, 28 Mar 2008 12:49:56 +0100
+ [ Sven Hoexter ]
+ * Add bash_completion and install it as /etc/bash_completion.d/lyx.
+ Thanks to Cengiz Gunay <cgunay at emory.edu>.
+
+ -- Sven Hoexter <sven at timegate.de> Tue, 01 Apr 2008 11:10:42 +0200
lyx (1.5.4-1) unstable; urgency=low
Modified: lyx/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-lyx/lyx/trunk/debian/rules?rev=445&op=diff
==============================================================================
--- lyx/trunk/debian/rules (original)
+++ lyx/trunk/debian/rules Tue Apr 1 11:13:45 2008
@@ -92,6 +92,9 @@
mv debian/lyx-common/usr/bin debian/lyx/usr/bin
mv debian/lyx-common/usr/share/man debian/lyx/usr/share/man
+ mkdir -p debian/lyx-common/etc/bash_completion.d
+ cp debian/bash_completion debian/lyx-common/etc/bash_completion.d/lyx
+
rm debian/lyx-common/usr/share/lyx/lyx2lyx/profiling.py*
rm -r debian/lyx-common/usr/share/lyx/fonts
More information about the Pkg-lyx-devel
mailing list