Skip to content

Instantly share code, notes, and snippets.

View sanmue's full-sized avatar

sanTmue sanmue

  • Germany
  • 05:27 (UTC +02:00)
View GitHub Profile
@sanmue
sanmue / starship.toml
Last active April 3, 2023 12:08
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'
# ~/.config/starship.toml
#
# ### Variant 2bg: two line prompt, with background in top line, separators on left side
# *** Borrowed from a design seen in a zsh (should be from https://github.com/romkatv/powerlevel10k)
#
# - No filling solid line in top row:
# Replace '$fill\' with just one character '\' or just completely delete the line that contains '$fill\' further down,
@sanmue
sanmue / starship.toml
Last active January 8, 2024 09:49
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'
# ~/.config/starship.toml
#
# ### Variant 2: two line prompt, no background in top line, separators on left side
# *** Borrowed from a design seen in a zsh (should be from https://github.com/romkatv/powerlevel10k)
#
# - No filling solid line in top row:
# Replace '$fill\' with just one character '\' or just completely delete the line that contains '$fill\' further down,
@sanmue
sanmue / starship.toml
Last active March 23, 2023 00:06
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\