separate mod for just

This commit is contained in:
Sridhar Ratnakumar 2023-08-25 11:16:43 -04:00
parent d2d2c93725
commit 619cb50995
3 changed files with 12 additions and 1 deletions

View file

@ -13,6 +13,7 @@
./direnv.nix
./zellij.nix
./nushell.nix
./just.nix
# ./powershell.nix
];
};

11
home/just.nix Normal file
View file

@ -0,0 +1,11 @@
{
programs.bash = {
# https://just.systems/man/en/chapter_63.html
# FIXME: doesn't work (macos)
initExtra = ''
# complete -F _just -o bashdefault -o default j
'';
};
home.shellAliases.j = "just";
}

View file

@ -29,7 +29,6 @@
l = lib.getExe pkgs.exa;
t = tree;
tree = "${lib.getExe pkgs.exa} -T";
j = "just";
};
programs = {