{pkgs, ...}: { home.file.".config/fish/aliases".source = ./aliases; # note: grompt was installed manually, once grompt is available in nixpkgs, # this will change. home.file.".config/grompt.json".source = ./grompt.json; programs.fish = { enable = true; package = pkgs.fishMinimal; shellInit = builtins.readFile ./config.fish; shellAliases = { nv = "nvim"; cls = "clear"; unfetch = "unfetch -distro=eyes -art-dir=/home/elisiei/.config/unfetch -pkg=nix -fields=title,separator,os,kernel,uptime,shell,terminal,memory,packages"; }; functions = { __fish_command_not_found_handler = { body = "__fish_default_command_not_found_handler $argv[1]"; onEvent = "fish_command_not_found"; }; fish_greeting = { body = ""; }; fish_prompt = { body = "grompt"; }; gitignore = "curl -sL https://www.gitignore.io/api/$argv"; }; }; }