aboutsummaryrefslogtreecommitdiff
path: root/share/home/shellenv.nix
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-02-27 14:04:39 +0100
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-02-27 14:04:39 +0100
commit990449536712f886c800e55463aa4d854e34928f (patch)
tree4d3d8b357e9ae7898da4131f62d1b24ca6a52e02 /share/home/shellenv.nix
parent264e95ed1c8c7cb9ec8319f51a2c07c8f53b10d1 (diff)
Refactor, test out fish on wonderland
Diffstat (limited to 'share/home/shellenv.nix')
-rw-r--r--share/home/shellenv.nix51
1 files changed, 51 insertions, 0 deletions
diff --git a/share/home/shellenv.nix b/share/home/shellenv.nix
new file mode 100644
index 0000000..ae9004c
--- /dev/null
+++ b/share/home/shellenv.nix
@@ -0,0 +1,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
+}