[pacman-dev] [PATCH] bash_completion: remove absolute utility paths again

Cedric Staniewski cedric at gmx.ca
Thu Feb 25 17:57:54 EST 2010


On 25.02.2010 23:44, Allan McRae wrote:
> On 26/02/10 08:23, Cedric Staniewski wrote:
>> The location of the used utilities may and does differ between various
>> distributions and therefore absolute paths do not work well. Since the
>> main purpose of its introduction was to avoid side-effects caused by
>> aliases, it is sufficient to disable possible aliases temporarily by
>> preceding the commands with a backslash.
> 
> That seems fine to me.  Just one check.  How long has that syntax been
> available (i.e. is it a bash4ism)?
> 
> Allan

Just tested it on GNU bash, version 3.2.39(1)-release and it works. So I
guess it's safe to use.


More information about the pacman-dev mailing list