From 53967457e7a4f3e74f27ae4c30132a8d28432cfd Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Fri, 28 Feb 2025 10:31:50 +0100 Subject: [PATCH] shell: update starsip, pay-respects settings --- modules/user/shell/fishinit.nix | 2 +- modules/user/shell/starship.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/user/shell/fishinit.nix b/modules/user/shell/fishinit.nix index d8d04ac..69c7c6c 100644 --- a/modules/user/shell/fishinit.nix +++ b/modules/user/shell/fishinit.nix @@ -9,7 +9,7 @@ pkgs.writeText "config.fish" '' ${pkgs.zoxide}/bin/zoxide init fish | source ${pkgs.starship}/bin/starship init fish | source ${pkgs.direnv}/bin/direnv hook fish | source - ${pkgs.pay-respects}/bin/pay-respects fish --alias | source + ${pkgs.pay-respects}/bin/pay-respects fish --alias f --nocnf | source source ${./config.fish} diff --git a/modules/user/shell/starship.nix b/modules/user/shell/starship.nix index 90547f2..0fa39f5 100644 --- a/modules/user/shell/starship.nix +++ b/modules/user/shell/starship.nix @@ -1,7 +1,7 @@ { add_newline = false; command_timeout = 2000; - format = "$hostname$username$directory$shell$nix_shell$git_branch$git_commit$git_state$git_status$jobs$cmd_duration\n$character"; + # format = "$hostname$username$directory$shell$nix_shell$git_branch$git_commit$git_state$git_status$jobs$cmd_duration\n$character"; scan_timeout = 2; character = { @@ -34,7 +34,6 @@ untracked = "?"; }; - golang.symbol = "[󰟓 ](blue)"; hostname = { disabled = false; format = "@[$hostname](bold blue) "; @@ -46,6 +45,7 @@ c.symbol = "[ ](black)"; lua.symbol = "[ ](blue) "; + golang.symbol = "[󰟓 ](blue)"; nix_shell.symbol = "[󱄅 ](blue) "; nodejs.symbol = "[󰎙 ](yellow)";