Skip to content

Instantly share code, notes, and snippets.

View sanmue's full-sized avatar

sanTmue sanmue

  • Germany
  • 08:42 (UTC +02:00)
View GitHub Profile
@sanmue
sanmue / starship.toml
Last active December 31, 2024 13:55
starship.toml; 'Starship shell prompt' config file; Original "owo" by remi-guan (https://github.com/remi-guan); modifications: 2 line prompt, ...; Source: https://github.com/remi-guan/starship/blob/6bbff1f0d67fa36fe29da756e49530dddc3863d7/docs/public/presets/toml/owo.toml
"$schema" = 'https://starship.rs/config-schema.json'
# -------------------------------------------------
# "owo" preset, original by remi-guan (https://github.com/remi-guan)
# -> modified: 2 line prompt, added a few more modules + icons, ...
# -------------------------------------------------
# - Source: https://github.com/remi-guan/starship/blob/6bbff1f0d67fa36fe29da756e49530dddc3863d7/docs/public/presets/toml/owo.toml
# - Tested / recommended Font: 'MesloLGS NF Regular' from [Meslo Nerd Font patched for Powerlevel10k](https://github.com/romkatv/powerlevel10k?tab=readme-ov-file#manual-font-installation)
# - added but disabled modules: battery, time
@sanmue
sanmue / starship.toml
Last active December 29, 2024 15:37
starship.toml; 'Starship shell prompt' config file; Variant 2bg: two line prompt, with background in top line, see screenshot in the comment below for more Info; to remove filling solid line in top row: see comments at the beginning of the toml-file; variant without background in top line: https://gist.github.com/sanmue/f0ed97bed95c7bc7926cc3a88…
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# ### ------------
# ### "Power10 bg"
# ### ------------
# ### Variant 2 with background: two line prompt, with background in top line, separators on left side
# - This preset is inspired by a [powerlevel10k](https://github.com/romkatv/powerlevel10k) configuration variant.
#
# - Recommended / tested with Font 'MesloLGS NF Regular' from: Meslo Nerd Font patched for Powerlevel10k
@sanmue
sanmue / starship.toml
Last active December 29, 2024 15:37
starship.toml; 'Starship shell prompt' config file; Variant 2: two line prompt, no background in top line, see screenshot in the comment below for more Info; to remove filling solid line in top row: see comments at the beginning of the toml-file; variant with background in top line: https://gist.github.com/sanmue/e04657a7ca37841c8e97e7fdf0dd6a5c
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# ### ---------
# ### "Power10"
# ### ---------
# - Variant 2: two line prompt, no background in top line, separators on left side, filling solid line in top row
# - This preset is inspired by a [powerlevel10k](https://github.com/romkatv/powerlevel10k) configuration variant.
#
# - Recommended / tested with Font 'MesloLGS NF Regular' from: Meslo Nerd Font patched for Powerlevel10k
@sanmue
sanmue / starship.toml
Last active September 20, 2024 16:56
New updated Version: https://gist.github.com/sanmue/f0ed97bed95c7bc7926cc3a88949bd39; starship.toml; 'Starship shell prompt' config file; Variant 1: two line prompt, no background in top line, see screenshot in the comment below for more Info
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# ~/.config/starship.toml
# Customizing the prompt (including desired modules at desired position and sequence):
# *** Borrowed from a design seen in a zsh (should be from https://github.com/romkatv/powerlevel10k)
format = """
[╭╴](fg:#505050)[$os]($style)[ ](fg:#505050 bold)[$username$hostname$sudo$directory\
$git_branch$git_commit$git_state$git_metrics$git_status\