feat(homes/rafiq/cli): add alias for fzf nvim
This commit is contained in:
parent
577154c871
commit
d60030ed5d
1 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
home.packages = with pkgs; [
|
||||
neovim
|
||||
ripgrep
|
||||
fzf
|
||||
(pkgs.writeShellScriptBin "rebuild" # sh
|
||||
''
|
||||
if [ ! -f "flake.nix" ]; then
|
||||
|
@ -24,6 +25,10 @@
|
|||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
edit = "nvim $(fzf)";
|
||||
};
|
||||
|
||||
programs.nix-index.enable = true;
|
||||
programs.nix-index-database.comma.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue