[Bash-completion-devel] unalias sed?
David Paleino
d.paleino at gmail.com
Wed Jun 10 13:20:16 UTC 2009
On Sun, 7 Jun 2009 21:07:06 +0300, Ville Skyttä wrote:
> On Friday 05 June 2009, David Paleino wrote:
>
> > What about:
> >
> > alias mysed=sed
> > have gsed && alias mysed=gsed
> >
> > ?
>
> If we go down that route, does the alias buy us anything over a usual shell
> variable? For example
>
> have gsed && _bashcomp_sed=gsed || _bashcomp_sed=sed
That's good as well to me.
Kindly,
David
--
. ''`. Debian maintainer | http://wiki.debian.org/DavidPaleino
: :' : Linuxer #334216 --|-- http://www.hanskalabs.net/
`. `'` GPG: 1392B174 ----|---- http://snipr.com/qa_page
`- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20090610/df8f9664/attachment.pgp>
More information about the Bash-completion-devel
mailing list