aboutsummaryrefslogtreecommitdiff
path: root/share/cfg/shellenv.nix
blob: 0b1e7d6ee40d33f31bd093771437a8d5e7a74a38 (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
52
53
{ ... }:
{
  home.shellAliases = {
    ltg = "ls --git --tree";
    ltgi = "ltg --git-ignore";
  };
  programs.eza = {
    icons = true;
    extraOptions = [
      "--header"
      "--group-directories-first"
      "--long"
    ];
  };

  programs.starship = {
    #    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
}