From 685744d5ed65f954d2e9f673ae8ba2f4ee5e7268 Mon Sep 17 00:00:00 2001 From: Nemo Date: Thu, 7 May 2020 16:26:48 +0530 Subject: [PATCH] Adds starship configuration --- files/bash/.config/starship.toml | 64 ++++++++++++++++++++++++++++++++ files/x11/.config/locale.conf | 1 + 2 files changed, 65 insertions(+) create mode 100644 files/bash/.config/starship.toml create mode 100644 files/x11/.config/locale.conf diff --git a/files/bash/.config/starship.toml b/files/bash/.config/starship.toml new file mode 100644 index 0000000..01080d5 --- /dev/null +++ b/files/bash/.config/starship.toml @@ -0,0 +1,64 @@ +add_newline = false + +prompt_order = [ + "username", + "hostname", + "kubernetes", + "directory", + "git_branch", + "git_commit", + "git_state", + "git_status", + # "hg_branch", + "docker_context", + "package", + # "dotnet", + "elixir", + # "elm", + # "erlang", + "golang", + # "haskell", + # "java", + # "julia", + "nodejs", + "php", + "python", + "ruby", + "rust", + "terraform", + # "nix_shell", + # "conda", + "aws", + "env_var", + "crystal", + "cmd_duration", + "custom", + "line_break", + "memory_usage", + "jobs", + # "battery", + "time", + "character", +] + +[character] +symbol = "➜" +error_symbol = "✗" +use_symbol_for_status = true + + +[time] +disabled = false +format = "[%d %b | %H:%M]" +utc_time_offset = "+5.5" + +[jobs] +symbol = "+ " +threshold = 2 + +[memory_usage] +disabled = false + +[cmd_duration] +min_time = 500 +disabled = false diff --git a/files/x11/.config/locale.conf b/files/x11/.config/locale.conf new file mode 100644 index 0000000..27112f9 --- /dev/null +++ b/files/x11/.config/locale.conf @@ -0,0 +1 @@ +LANG=en_US.UTF-8 \ No newline at end of file