Update de rotina

This commit is contained in:
Guilherme Hermando
2025-08-17 18:45:41 -03:00
committed by GitHub
parent 3c5d19c060
commit 272bfb68d5
8 changed files with 90 additions and 55 deletions
+17 -19
View File
@@ -1,26 +1,24 @@
{ 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;
#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 '';
};
#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 '';
}