Skip to content

Commit

Permalink
Ensure helix for gh editor such as git editor
Browse files Browse the repository at this point in the history
Open visual editor does not match for gh command purpose...
  • Loading branch information
kachick committed Oct 20, 2024
1 parent 8c9e9d8 commit 3e92fc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions home-manager/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@
enable = true;

settings = {
# Without this, gh prefer $VISUAL
editor = lib.getExe pkgs.helix;

aliases = {
# https://github.com/kachick/wait-other-jobs/blob/b576def89f0816aab642bed952817a018e99b373/docs/examples.md#github_token-vs-pat
setup = ''
Expand Down

0 comments on commit 3e92fc1

Please sign in to comment.