|
From: | Dustin Sallings |
Subject: | Re: [Gnu-arch-users] Command abbreviations |
Date: | Wed, 17 Mar 2004 10:57:19 -0800 |
On Mar 17, 2004, at 10:00, Matthieu Moy wrote:
BTW, here's a tcsh completion example (It could be improved, but is nice for all-day use) :
Here's what I do: which tla >& /dev/null if ( $? == 0 ) then set tlacommands=( \`tla help | grep " : " | grep -v alias | awk '{print $1}' | sort -u ` )
complete tla 'p/1/$tlacommands/' endifNo options, but it gets me really close without having to track changes to tla. :)
-- Dustin Sallings
[Prev in Thread] | Current Thread | [Next in Thread] |