Re: [Intel-gfx] [dim PATCH 4/4] dim: run executables in $PATH named dim-subcommand as dim subcommands

2017-04-05 Thread Daniel Vetter
On Wed, Apr 05, 2017 at 10:28:06AM +0300, Jani Nikula wrote: > On Tue, 04 Apr 2017, Daniel Vetter wrote: > > On Tue, Apr 04, 2017 at 04:59:02PM +0300, Jani Nikula wrote: > >> Similar to git. Don't allow override of internal commands though. > > > > git did this, and then went to

Re: [Intel-gfx] [dim PATCH 4/4] dim: run executables in $PATH named dim-subcommand as dim subcommands

2017-04-05 Thread Jani Nikula
On Tue, 04 Apr 2017, Daniel Vetter wrote: > On Tue, Apr 04, 2017 at 04:59:02PM +0300, Jani Nikula wrote: >> Similar to git. Don't allow override of internal commands though. > > git did this, and then went to a slightly different version because > git doesn't complete to a space

Re: [Intel-gfx] [dim PATCH 4/4] dim: run executables in $PATH named dim-subcommand as dim subcommands

2017-04-04 Thread Daniel Vetter
On Tue, Apr 04, 2017 at 04:59:02PM +0300, Jani Nikula wrote: > Similar to git. Don't allow override of internal commands though. git did this, and then went to a slightly different version because git doesn't complete to a space due to the various git-foo commands in path. Imo the right way to do

[Intel-gfx] [dim PATCH 4/4] dim: run executables in $PATH named dim-subcommand as dim subcommands

2017-04-04 Thread Jani Nikula
Similar to git. Don't allow override of internal commands though. Signed-off-by: Jani Nikula --- dim | 6 ++ 1 file changed, 6 insertions(+) diff --git a/dim b/dim index 45dc07cd0426..85da1542087e 100755 --- a/dim +++ b/dim @@ -1907,6 +1907,12 @@ fi # look up the