This commit is contained in:
nora 2023-09-29 18:09:43 +02:00
parent 1db3122d1e
commit 82228e93cd
4 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, lib, ... }: {
programs.git = {
enable = true;
@ -10,14 +10,14 @@
fpush = "push --force-with-lease";
resq = "rebase --autosquash -i";
pfush = "!echo \"hör uf ume z'pfusche und machs richtig\"";
sw = "!git checkout $(git branch --format \"%(refname:lstrip=2)\" | ${pkgs.lib.getExe pkgs.fzf})";
sw = "!git checkout $(git branch --format \"%(refname:lstrip=2)\" | ${lib.getExe' pkgs.fzf "fzf"})";
};
difftastic = {
enable = true;
};
extraConfig = {
core.autocrlf = false;
core.editor = "${pkgs.neovim}/bin/nvim";
core.editor = "${lib.getExe pkgs.neovim}";
pull.ff = "only";
push.autoSetupRemote = true;
init.defaultBranch = "main";