Re: EDITOR with tilde not expanded in git-commit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, August 28, 2007 at 21:37:05 (+0700) Nguyen Thai Ngoc Duy writes:
>On 8/28/07, Bill Lear <rael@xxxxxxxxxx> wrote:
>> My co-worker is visually impaired, and he uses a custom emacs.  His
>> EDITOR is set to something like "~/bin/xemacs -nw".  When git-commit
>> runs, it complains:
>>
>> % git-commit
>> git-commit: line 582: ~/bin/xemacs -nw: No such file or directory
>
>Why not set EDITOR="$HOME/bin/xemacs -nw"? It should work well IMHO.

Of course, and one could use a full path also, but tilde is a
perfectly valid replacement for $HOME, and I think git should support
it, and not force the user to work around it.


Bill
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux