]> git.mdlowis.com Git - projs/tide.git/commitdiff
added wrapper script for passing a tags file to pick to mimic omnicomplete
authorMichael D. Lowis <mike@mdlowis.com>
Sat, 5 Nov 2016 15:46:45 +0000 (11:46 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Sat, 5 Nov 2016 15:46:45 +0000 (11:46 -0400)
xtagpick [new file with mode: 0755]

diff --git a/xtagpick b/xtagpick
new file mode 100755 (executable)
index 0000000..a26366b
--- /dev/null
+++ b/xtagpick
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ "$#" -ne 1 ]; then
+    echo "Usage: $0 <tagfile>"
+    exit 1
+fi
+cut -f1 "$1" | uniq | ./xpick