configuring

This commit is contained in:
Matt Nish-Lapidus 2024-09-27 14:17:11 -04:00
parent ec390d1f9c
commit eeca795d8a
3 changed files with 27 additions and 6 deletions

View file

@ -163,8 +163,8 @@
# enable fish and launch it from bash for interactive shells
programs.fish.enable = true;
programs.bash = {
interactiveShellInit = ''
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
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
@ -187,6 +187,7 @@
rsync
#kanata
kmonad
fishPlugins.foriegn-env
];
#systemd.services.kanata = {