comma-not-found, binds, extensions, etc

This commit is contained in:
atagen 2025-08-19 11:08:55 +10:00
parent 7bb0a4bc31
commit 5003fc7953
9 changed files with 99 additions and 75 deletions

View file

@ -1,4 +1,5 @@
{
lib,
pkgs,
inputs,
...
@ -27,6 +28,7 @@ in
"gcam" = "git commit -am";
"gcl" = "git clone";
"gcd" = "git clone --depth 1";
":q" = "exit";
};
shellAliases = {
"l" = "eza -lg --icons=always --colour=always $argv | culr";
@ -39,9 +41,15 @@ in
set -q argv[1]; or set argv fish
echo (fish_prompt_pwd_dir_length=100 prompt_pwd): $argv;
end
function fish_command_not_found
${
lib.getExe inputs.nix-index-database.packages.${pkgs.system}.comma-with-db
} "$argv[1]" "$argv[2..]"
end
${./rice/header.sh}
'';
};
programs.command-not-found.enable = false;
programs.zoxide = {
enable = true;
enableFishIntegration = true;