From 78a0397f714998a957be54f2257185d90ea1b724 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Mon, 15 Jan 2024 05:45:51 +0100 Subject: [PATCH] Add starship configuration --- dot_config/starship.toml | 177 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 dot_config/starship.toml diff --git a/dot_config/starship.toml b/dot_config/starship.toml new file mode 100644 index 0000000..b54b382 --- /dev/null +++ b/dot_config/starship.toml @@ -0,0 +1,177 @@ +[buf] +symbol = " " + +[golang] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[c] +symbol = " " +format = '\[[$symbol($version(-$name))]($style)\]' + +[cmd_duration] +format = '\[[󰔛 $duration]($style)\]' + +[conda] +symbol = " " +format = '\[[$symbol$environment]($style)\]' + +[directory] +read_only = " 󰌾" +format = '[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) ' + +[directory.substitutions] +"Android" = "" +"Desktop" = "" +"Documents" = "󰈙" +"Downloads" = "󰇚" +"Dropbox" = "" +"Games" = "" +"Music" = "" +"Pictures" = "" +"Videos" = "" + +[docker_context] +symbol = " " +format = '\[[$symbol$context]($style)\]' + +[fennel] +format = '\[[$symbol($version)]($style)\]' + +[fossil_branch] +symbol = " " +format = '\[[$symbol$branch]($style)\]' + +[git_branch] +symbol = " " +format = '\[[$symbol$branch]($style)\]' + +[git_status] +format = '([\[$all_status$ahead_behind\]]($style))' + +[haskell] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[hg_branch] +symbol = " " +format = '\[[$symbol$branch]($style)\]' + +[hostname] +ssh_symbol = "󰣀 " +ssh_only = false +format = '[$ssh_symbol$hostname]($style):' +style = 'bright-green' + +[julia] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[lua] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[memory_usage] +symbol = "󰍛 " +format = '\[$symbol[$ram( | $swap)]($style)\]' + +[meson] +symbol = "󰔷 " +format = '\[[$symbol$project]($style)\]' + +[nodejs] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[perl] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[os] +format = '\[[$symbol]($style)\]' + +[os.symbols] +Alpaquita = " " +Alpine = " " +Amazon = " " +Android = " " +Arch = " " +Artix = " " +CentOS = " " +Debian = " " +DragonFly = " " +Emscripten = " " +EndeavourOS = " " +Fedora = " " +FreeBSD = " " +Garuda = "󰛓 " +Gentoo = " " +HardenedBSD = "󰞌 " +Illumos = "󰈸 " +Linux = " " +Mabox = " " +Macos = " " +Manjaro = " " +Mariner = " " +MidnightBSD = " " +Mint = " " +NetBSD = " " +NixOS = " " +OpenBSD = "󰈺 " +openSUSE = " " +OracleLinux = "󰌷 " +Pop = " " +Raspbian = " " +Redhat = " " +RedHatEnterprise = " " +Redox = "󰀘 " +Solus = "󰠳 " +SUSE = " " +Ubuntu = " " +Unknown = " " +Windows = "󰍲 " + +[package] +symbol = "󰏗 " +format = '\[[$symbol$version]($style)\]' + +[php] +format = '\[[$symbol($version)]($style)\]' + +[python] +symbol = " " +format = '\[[${symbol}${pyenv_prefix}(${version})(\($virtualenv\))]($style)\]' + +[ruby] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[rust] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[scala] +symbol = " " +format = '\[[$symbol($version)]($style)\]' + +[sudo] +format = '\[[as $symbol]($style)\]' + +[swift] +format = '\[[$symbol($version)]($style)\]' + +[time] +format = '\[[$time]($style)\]' + +[username] +format = '[$user@]($style)' +show_always = true +style_user = 'bright-green' +style_root = 'bright red' + +[zig] +format = '\[[$symbol($version)]($style)\]' + +[solidity] +format = '\[[$symbol($version)]($style)\]' +