Last active
April 12, 2022 09:39
-
-
Save jplomas/fa122f4c155580e130c1e0c6d621af3d to your computer and use it in GitHub Desktop.
Starship config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Inserts a blank line between shell prompts | |
add_newline = true | |
# Replace the "❯" symbol in the prompt with "➜" | |
[character] # The name of the module we are configuring is "character" | |
success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green" | |
# Disable the package module, hiding it from the prompt completely | |
[package] | |
disabled = true | |
[shell] | |
disabled = true | |
[gcloud] | |
disabled = true | |
[ruby] | |
disabled = true | |
[username] | |
style_user = "bold dimmed blue" | |
show_always = false | |
[directory] | |
truncation_length = 10 | |
truncate_to_repo = false | |
[custom.git-email] | |
command = "echo $(git config --get user.email)" | |
when = "git rev-parse --is-inside-work-tree 2> /dev/null" | |
format = "📧 $output " | |
shell = ["bash", "--noprofile", "--norc"] | |
[custom.git-check-signing-key] | |
description = "git missing signing key" | |
when = "git rev-parse --is-inside-work-tree 2> /dev/null" | |
command = "~/.githook.sh > /dev/null 2>&1; _jp_gsk=$?; [ $_jp_gsk -eq 0 ] && echo 🔑|| echo 🚫" | |
format = "$output " | |
shell = ["bash", "--noprofile", "--norc"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment