On Aug 4, 2018, at 5:16 AM, Gilles <codecompl...@free.fr> wrote:
> 
> fossil settings > gdiff-command    (global) "C:\Program 
> Files\WinMerge\WinMergeU.exe”

Double check that the executable is in fact there, not somewhere else, like 
c:\Program Files (x86).

If that doesn’t work, try “dir /x c:\” and putting in the short version of the 
path to avoid the embedded space.  If I had to guess, it’s:

    c:\PROGRA~1\WinMerge\WinMergeU.exe

But check.  It could be ~2 or other things.

And if that still doesn’t work, try using forward slashes.  It’s possible this 
is running through sprintf() or similar internally to Fossil, so those 
backslashes are causing confusion.

> 2. Is there a way to make fossil.exe autocomplete commands, eg.
> 
> fo + TAB : fossil.exe
> fossil gd + TAB : fossil gdiff
> fossil gdiff my + TAB :fossil gdiff myfile.txt

That’s not something fossil.exe can do, even in principle.  It’s a function of 
your shell, not of the command the shell is about to run.  fossil.exe hasn’t 
even run yet at the point where you’re wanting command argument completion.

There are several advanced shells for Windows (e.g Cmder), but I don’t pay much 
attention to that space, so I can’t actually give any recommendations.

If you are willing to use a POSIX type shell on Windows, several of the 
advanced shells can be configured to do this.  E.g. with Bash:

    https://hackaday.com/2018/01/19/linux-fu-custom-bash-command-completion/

Zsh can also certainly do it, and probably Fish as well.

Such shells are vastly superior to cmd.exe anyway.
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to