feat(jujutsu): update my config with new aliases

This commit is contained in:
Lucien Cartier-Tilet 2025-07-05 00:02:39 +02:00
parent 13723ef4d1
commit d64caa86ec
2 changed files with 15 additions and 5 deletions

View File

@ -3,20 +3,22 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
devenv = {
url = "github:cachix/devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database = {
url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
devenv = {
url = "github:cachix/devenv";
inputs.nixpkgs.follows = "nixpkgs";
};
pumo-system-info = {
url = "git+https://labs.phundrak.com/phundrak/pumo-system-info";
inputs.nixpkgs.follows = "nixpkgs";

View File

@ -41,6 +41,7 @@ in {
ui = {
default-command = "st";
pager = ":builtin";
show-cryptographic-signatures = true;
inherit (cfg) editor;
};
signing = mkIf cfg.signing.enable {
@ -50,6 +51,13 @@ in {
backends."ssh.allowed-signers" = "~/.ssh/allowed_signers";
backends."ssh.program" = "${pkgs.openssh}/bin/ssh-keygen";
};
aliases = {
l = ["log"];
lc = ["log" "-r" "(remote_bookmarks()..@)::"];
n = ["new"];
dm = ["desc" "-m"];
tug = ["bookmark" "move" "--from" "heads(::@- & bookmarks())" "--to" "@-"];
};
};
};
}