Skip to content

Commit

Permalink
users: jj qol aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
moni-dz committed Dec 25, 2024
1 parent 3228e90 commit 43224c6
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions modules/shared/home-manager/vcs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,52 @@
jujutsu = {
enable = config.programs.git.enable;
settings = {
core.fsmonitor = "watchman";
format.tree-level-conflicts = true;

aliases = {
l = [
"log"
"-r"
"reachable(@, mutable())"
];

lm = [
"log"
"-r"
"(master..@):: | (master..@)-"
];

lmain = [
"log"
"-r"
"(main..@):: | (main..@)-"
];

mv = [
"bookmark"
"set"
"--revision"
];
};

user = {
name = "moni-dz";
email = "lythe1107@gmail.com";
};

git = {
fetch = [
"upstream"
"origin"
];

push = "origin";
};

ui = {
editor = "nvim";

diff-editor = [
"nvim"
"-c"
Expand Down

0 comments on commit 43224c6

Please sign in to comment.