comma-not-found, binds, extensions, etc
This commit is contained in:
parent
7bb0a4bc31
commit
5003fc7953
9 changed files with 99 additions and 75 deletions
|
@ -15,6 +15,4 @@
|
|||
inputs.nix-index-database.nixosModules.nix-index
|
||||
];
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
# programs.nix-index.enableZshIntegration = false;
|
||||
# programs.nix-index.enableBashIntegration = false;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue