home-manager/shell: add cosmic-term and change ls colors

This commit is contained in:
xinyangli 2024-08-24 13:43:37 +08:00
parent 553622ac66
commit a2422d1f4e
Signed by: xin
SSH key fingerprint: SHA256:qZ/tzd8lYRtUFSrfBDBMcUqV4GHKxqeqRA3huItgvbk
5 changed files with 36 additions and 16 deletions

View file

@ -60,9 +60,10 @@ in
function fish_command_not_found
${pkgs.comma}/bin/comma $argv
end
set -gx LS_COLORS (${lib.getExe pkgs.vivid} generate catppuccin-mocha)
'' else "";
in ''
fish_config prompt choose arrow
fish_config prompt choose default
'' + extraInit;
functions = mkIf cfg.functions.enable {
gitignore = "curl -sL https://www.gitignore.io/api/$argv";