Bohdan's terminal configuration

starship

bpavuk.neocities.org 1dec2ef0 1875461f

verified
Changed files
+59 -6
nixos
home
development
starship
+9 -6
nixos/home/development/zsh.nix
··· 8 8 syntaxHighlighting.enable = true; 9 9 history.size = 10000; 10 10 autocd = false; 11 - 12 - oh-my-zsh = { 13 - enable = true; 14 - plugins = [ "git" ]; 15 - theme = "half-life"; 16 - }; 17 11 }; 18 12 19 13 programs.pay-respects = { ··· 22 16 enableBashIntegration = true; 23 17 options = [ "--alias" "fuck" ]; 24 18 }; 19 + 20 + 21 + programs.starship = { 22 + enable = true; 23 + enableZshIntegration = true; 24 + enableBashIntegration = true; 25 + }; 26 + 27 + xdg.configFile."starship.toml".source = ../../../starship/.config/starship.toml; 25 28 }
+45
starship/.config/starship.toml
··· 1 + "$schema" = 'https://starship.rs/config-schema.json' 2 + 3 + format = """$character""" 4 + 5 + right_format = """$all""" 6 + 7 + [nix_shell] 8 + disabled = true 9 + 10 + [git_status] 11 + disabled = true 12 + 13 + [git_branch] 14 + disabled = true 15 + 16 + [git_state] 17 + disabled = true 18 + 19 + [git_commit] 20 + disabled = true 21 + 22 + [rust] 23 + format = "[${symbol}(${version} )]($style)" 24 + 25 + [kotlin] 26 + symbol = " " 27 + style = "bold #943ef5" 28 + format = "[${symbol}(${version} )]($style)" 29 + 30 + [gradle] 31 + symbol = " " 32 + style = "bold #44a69d" 33 + format = "[${symbol}(${version} )]($style)" 34 + 35 + [java] 36 + format = "[${symbol}(${version} )]($style)" 37 + 38 + [c] 39 + symbol = " " 40 + format = "[$symbol($version(-$name) )]($style)" 41 + 42 + [cmake] 43 + symbol = " " 44 + format = "[$symbol($version )]($style)" 45 +
+5
starship/README.md
··· 1 + ## Starship prompt 2 + 3 + Contains a `starship.toml` file in a `.config` directory. Essentially a debloated but close-to-default terminal prompt. 4 + 5 + To install, run `stow starship`. On NixOS or `home-manager`, Nix config does that for you.