diff options
| author | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-06 20:08:58 +0200 |
|---|---|---|
| committer | Miran Bastaja <miran.bastaja04@gmail.com> | 2024-04-06 20:39:25 +0200 |
| commit | 661d4964d99a0a5cbab358643c6a271422e0d001 (patch) | |
| tree | 9ebc3d6316a1333a39b9817acb3753d8cdbfff7f /share/cfg/shellenv.nix | |
| parent | 1c716c86fd1f038e2e0a566593ba04676628b5e8 (diff) | |
Programming Feng Shui praxis
Diffstat (limited to 'share/cfg/shellenv.nix')
| -rw-r--r-- | share/cfg/shellenv.nix | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/share/cfg/shellenv.nix b/share/cfg/shellenv.nix new file mode 100644 index 0000000..16b28ac --- /dev/null +++ b/share/cfg/shellenv.nix @@ -0,0 +1,48 @@ +{ ... }: { + 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 +} |
