Add files via upload

This commit is contained in:
Guilherme Hermando
2025-08-06 00:06:34 -03:00
committed by GitHub
parent 1219494d13
commit 3c5d19c060
18 changed files with 613 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{ config, lib, inputs, pkgs, ... }: {
## config fish
environment.systemPackages = with pkgs; [
fishPlugins.done
fishPlugins.fzf-fish
fishPlugins.forgit
fishPlugins.hydro
fzf
fishPlugins.grc
grc
];
programs.fish.enable = true;
## auto start fish com bash
programs.bash = {
interactiveShellInit =
'' if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi '';
};
}