[PATCH] Make bash completion executable

Christian Ebert blacktrash at gmx.net
Fri Dec 4 07:34:30 CST 2009


* Christian Ebert on Friday, December 04, 2009 at 14:29:36 +0100
> # HG changeset patch
> # User Christian Ebert <blacktrash at gmx.net>
> # Date 1259933196 -3600
> # Node ID 43605af6cef8243fc9e114c0f32247972d72bb7a
> # Parent  08bbed8ac9b8bc10f89a9fdbcf59b7b9cc50c977
> Make bash completion executable
> 
> This allows to check for prompt in system-wide bashrc files
> 
> if [ "$PS1" ]; then
>  . /usr/local/share/bash_completion.d/hg
> if
  ^^
oops, sorry, resending with correction

> even for non-login shells, which would work only via ~/.bashrc
> or ~/.bash_profile otherwise.
> 
> diff --git a/contrib/bash/hg b/contrib/bash/hg
> old mode 100644
> new mode 100755

c
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]

_F R E E_  _V I D E O S_  --->>> http://www.blacktrash.org/underdogma/


More information about the Mercurial-devel mailing list