shell stuff

This commit is contained in:
Ranomier 2025-01-13 03:16:02 +01:00
parent 7fa2c15c64
commit 7f4b1ae8e1
2 changed files with 7 additions and 6 deletions

View file

@ -1,14 +1,15 @@
{ ... }:{ {pkgs, ...}: {
programs = { programs = {
fish = { fish = {
enable = true; enable = true;
useBabelfish = true; useBabelfish = true;
shellInit = '' shellInit = ''
starship init fish | source starship init fish | source
''; '';
}; };
nix-index.enableFishIntegration = true; nix-index.enableFishIntegration = true;
direnv.enableFishIntegration = true; direnv.enableFishIntegration = true;
foot.enableFishIntegration = true; foot.enableFishIntegration = true;
}; };
environment.systemPackages = [pkgs.starship];
} }

View file

@ -1,4 +1,4 @@
{ ... }:{ {...}: {
system.userActivationScripts.zshrc = "touch .zshrc"; system.userActivationScripts.zshrc = "touch .zshrc";
programs.zsh = { programs.zsh = {