Skip to content

Instantly share code, notes, and snippets.

@snichme
Created January 27, 2021 23:00
Show Gist options
  • Save snichme/9ad409492dafe4c4feefd03d1b21cf41 to your computer and use it in GitHub Desktop.
Save snichme/9ad409492dafe4c4feefd03d1b21cf41 to your computer and use it in GitHub Desktop.
Starship config
add_newline = false
format = """[$directory]()\
$git_branch$git_commit$git_state$git_status$status$character"""
[directory]
# truncate_to_repo = false
# truncation_length = 8
fish_style_pwd_dir_length = 1
# [directory.substitutions]
# "~/workspace/84codes" = "84"
[rust]
format = "[$version]($style) "
[ruby]
format = "[$version]($style) "
[golang]
format = "[$version]($style) "
[crystal]
format = "[$version]($style) "
[git_branch]
format = "[$branch]($style)"
[git_status]
format = "[$modified](green)[$untracked](green)[$staged](yellow)[$conflicted](red) "
untracked = "*"
modified = "*"
staged = "*"
@perlun
Copy link

perlun commented Dec 27, 2023

Would be nice with a screenshot displaying what this looks like, @snichme. 🙂

@snichme
Copy link
Author

snichme commented Dec 29, 2023

I would if I could, not using starship anymore, reverted to plain zsh instead.

@perlun
Copy link

perlun commented Dec 29, 2023

Hehe, I see. 😂 I am still using bash... Have never tested zsh, but I know some people like it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment