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.
> *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>
>

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

> Permalink
> <https://9fans.topicbox.com/groups/9fans/T77bc41510f2a92db-Me64f98b0044399c92d316cf6>
>

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

Reply via email to