He should be setting that to "B" instead of having preferences strewn all
over the place (in two places, plumbing and gif/config)

On Wed, 14 Jan 2026, 15:37 Alexander Kapshuk, <[email protected]>
wrote:

>
> On Wed, 14 Jan 2026 at 17:00, <[email protected]> wrote:
>
>> I am trying to set the default editor in 9front as when I commit to git
>> it uses *hold* by default for the commit message.  I can't figure out
>> how to save the commit with *hold* and so my commits are not being
>> committed. (I tried C-d and Delete. C-d enters strange characters, and
>> Delete exists but doesn't save.
>>
>> I tried changing the editor thus:
>>
>> echo 'editor=sam' >> $home/lib/profile
>>
>> Rebooted and tried:
>>
>> echo $editor
>>
>> Nothing.
>>
>> Thanks.
>>
>
> Try setting '$editor' in $home/lib/git/config.
> See https://wiki.9front.org/git9:
> User configuration
>    % mkdir $home/lib/git
>    % cat >> $home/lib/git/config
>    [core]
>           editor=/bin/youreditor
>    ^D
>
>> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/T77bc41510f2a92db-M18f75c7f46879af00ddaeb06>
>

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T77bc41510f2a92db-M6c3d6c9d8dd08b1baef7494f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to