Re: [PATCH] Update bash completions to prevent unbound variable errors.
- From
Ted Pavlic <ted@tedpavlic.com>
- Date
- Jan 12, 2009, 21:37 UTC
- Message-ID
- <496BB810.30503@tedpavlic.com>
- In-Reply-To
- <20090112212544.GA24941@chistera.yi.org>
> Because (from a quick look) their completion script never expands a > variable which is not known to be set.
They use $1, $2, etc. In fact, they use $1, $2, and $3 in their _hg, which is their main completion function. Why would those be defined there?
In fact, it's $1, $2, $3, and $4 that are causing the problemw ith the git completions.
--Ted
--
Ted Pavlic <ted@tedpavlic.com>
Please visit my ALS association page:
http://web.alsa.org/goto/tedpavlic
My family appreciates your support in the fight to defeat ALS.