aboutsummaryrefslogtreecommitdiff
path: root/share/home/shellenv.nix
blob: ae9004c3897caadbd3a51f952ebf17fb78ad5e45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ ... }: {
  home.shellAliases = {
    ltg = "ls --git --tree";
    ltgi = "ltg --git-ignore";
  };
  programs.eza = {
    enable = true;
    enableAliases = true;
    icons = true;
    extraOptions = [ "--header" "--group-directories-first" "--long" ];
  };

  programs.starship = {
    enable = true;
    #    settings = let
    #      lightblue-bg = "bg:#769ff0";
    #      lightblue-fg = "fg:#e3e5e5";
    #      lightblue = "${lightblue-fg} ${lightblue-bg}";
    #    in {
    #      format = lib.concatStrings [
    #        "[░▒▓](#a3aed2)"
    #        "[$username @ $hostname](${lightblue})"
    #        "$directory"
    #        "$rust"
    #        "$package"
    #        "\n"
    #        "> "
    #      ];
    #
    #      hostname = {
    #        ssh_only = false;
    #        format = "[$hostname]($style)";
    #        trim_at = ""; # disable trimming
    #        style = lightblue;
    #      };
    #
    #      username = {
    #        show_always = true;
    #        format = "[$user]($style)";
    #        style_user = lightblue;
    #        style_root = "${lightblue-bg} fg:red bold";
    #      };
    #
    #      directory = {
    #        format = "[ $path ]($style)";
    #        truncation_length = 3;
    #        truncation_symbol = "…/";
    #      };
    #    }; # end of settings
  }; # end of programs.starship
}