blob: ef79acb28cc3911599a24df6e90df0e2dad9fe74 (
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
{ pkgs, ... }: {
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
enableVteIntegration = true;
autocd = true;
dotDir = ".config/zsh";
shellAliases = {
battery-status = ''
upower -i $(upower -e | grep BAT) | grep -E "state|to full|percentage"
'';
ip = ''ip --color=auto'';
ltg = "ls --git --tree";
ltgi = "ltg --git-ignore";
sl = "sl -awFc5";
};
};
home.packages = with pkgs; [ sl ];
programs.eza = {
enable = true;
enableAliases = true;
icons = true;
extraOptions = [ "--header" "--group-directories-first" "--long" ];
};
programs.starship = {
enable = true;
enableZshIntegration = 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
programs.wezterm.enableZshIntegration = true;
}
|