summaryrefslogtreecommitdiffstats
path: root/utils/lilv.bash_completion
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-16 01:20:15 +0000
committerDavid Robillard <d@drobilla.net>2011-05-16 01:20:15 +0000
commit111b1a4cb83dbd0c1812bca412e43f6f326d6580 (patch)
tree71092cc17695e0a0022ef39f4570bb77fea0f3df /utils/lilv.bash_completion
parent88e22de251ab13e2081662ce008964812225a74a (diff)
downloadlilv-111b1a4cb83dbd0c1812bca412e43f6f326d6580.tar.gz
lilv-111b1a4cb83dbd0c1812bca412e43f6f326d6580.tar.bz2
lilv-111b1a4cb83dbd0c1812bca412e43f6f326d6580.zip
Fix references to old utility names
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3266 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils/lilv.bash_completion')
-rw-r--r--utils/lilv.bash_completion16
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/lilv.bash_completion b/utils/lilv.bash_completion
index 921087a..372982d 100644
--- a/utils/lilv.bash_completion
+++ b/utils/lilv.bash_completion
@@ -1,7 +1,8 @@
-# Bash auto-completion script written for lv2_inspect, lv2_jack_host
-# and lv2_simple_jack_host. Could be adapted to any other program
-# that takes an LV2 plugin URI as parameter.
+# Bash auto-completion script written for lv2info and lv2jack.
+# Could be adapted to any other program that takes an
+# LV2 plugin URI as parameter.
+# Updated for Lilv by David Robillard <d@drobilla.net> on 2011-05-21.
# Written by Lars Luthman <lars.luthman@gmail.com> on 2009-10-12.
# No copyright claimed for this script. Do what you want with it.
@@ -13,7 +14,7 @@
# It probably breaks in some special cases but for most common uses
# it should work fine.
-function _lv2_inspect() {
+function _lv2info() {
local uri cur opts w wn raw_reply len type
opts=`lv2_list | xargs -n1 echo -n " "`
@@ -52,8 +53,7 @@ function _lv2_inspect() {
done
}
-complete -F _lv2_inspect lv2_inspect
+complete -F _lv2info lv2info
-# And the same for lv2_jack_host and lv2_simple_jack_host.
-complete -F _lv2_inspect lv2_jack_host
-complete -F _lv2_inspect lv2_simple_jack_host
+# And the same for lv2jack.
+complete -F _lv2info lv2jack