Compare commits

...

3 commits

3 changed files with 46 additions and 0 deletions

View file

@ -16,6 +16,7 @@ in {
[
# general
babelfish
nix-your-shell # make nix-shell / nix develop use fish
# for fish_greeting()
marleyos.figlet-xero-fonts
@ -63,6 +64,12 @@ in {
set -g fish_key_bindings fish_vi_key_bindings
'';
interactiveShellInit =
# fish
''
${lib.getExe pkgs.nix-your-shell} fish | source
'';
shellAbbrs = {
cp = "cp -iv";
mkdir = "mkdir -pv";

View file

@ -23,6 +23,17 @@ in {
};
os.editPreset = "nvim-remote";
customCommands = [
{
key = "C";
command = "cz c";
description = "commit with commitizen";
context = "files";
loadingText = "opening commitizen tool";
subprocess = true;
}
];
};
};

View file

@ -0,0 +1,28 @@
{
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonPackage rec {
pname = "cz-conventional-gitmoji";
version = "0.6.1";
src = fetchPypi {
inherit pname version;
hash = "test";
};
build-system = with python3Packages; [
hatchling
];
dependencies = with python3Packages; [
commitizen
attrs
];
meta = {
description = "A commitizen plugin that combines gitmoji and conventional commits.";
homepage = "https://github.com/ljnsn/cz-conventional-gitmoji";
mainProgram = "cz_gitmoji";
};
}