feat(fish): replace starship with hydro

This commit is contained in:
uku 2024-11-23 11:14:09 +01:00
parent 109785aadd
commit e7fa72e2c5
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
5 changed files with 45 additions and 13 deletions

View file

@ -1,18 +1,19 @@
{
pkgs,
lib,
...
}: {
{pkgs, ...}: {
programs.fish.enable = true;
environment.systemPackages = with pkgs; [nix-your-shell];
environment.systemPackages = with pkgs; [
fishPlugins.hydro
];
hm.programs.fish = {
enable = true;
interactiveShellInit = ''
${lib.getExe pkgs.starship} init fish | source
${lib.getExe pkgs.nix-your-shell} fish | source
set --global hydro_symbol_git_dirty "*"
set --global hydro_color_pwd blue
set --global hydro_color_git magenta
set --global hydro_color_prompt green
set --global hydro_color_duration yellow
'';
functions.fish_greeting = "";