Page MenuHomeSolus

git defaults to editor that is not installed together with its package
Closed, ResolvedPublic


I have a clean install of Solus 3.9999 here. I installed git with

$ sudo eopkg install git

Afterwards, when committing it errors out looking for vi which is apparently not installed

$ git commit -a
hint: Waiting for your editor to close the file... error: cannot run vi: No such file or directory
error: unable to start editor 'vi'
Please supply the message using either -m or -F option.

Should vi/vim be made a dependency of the git package? Or alternatively should the pre-installed nano editor be set as the default in /etc/gitconfig?

Event Timeline

so-lo created this task.Dec 24 2018, 7:36 PM
Girtablulu edited projects, added Software; removed Lacks Project.Dec 25 2018, 9:42 AM
watpi added a subscriber: watpi.Dec 25 2018, 12:40 PM

+1 for the nano default

Jacalz added a subscriber: Jacalz.Dec 25 2018, 2:02 PM

Definitely not vi/vim, I vote for nano since it is preinstalled and way better than vi/vim!

JoshStrobl changed the task status from Open to In Progress.Dec 25 2018, 2:48 PM
JoshStrobl claimed this task.
JoshStrobl triaged this task as Normal priority.
JoshStrobl moved this task from Backlog to Improvement on the Software board.
JoshStrobl added a subscriber: JoshStrobl.

Yea, I'll set it to the clearly superior (read: more user friendly) option, nano.