Update Ghostty and Starship configs
Update Ghostty config documentation to reflect macOS's hybrid config behavior Add Python module to Starship prompt configuration
This commit is contained in:
+10
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
add_newline = false
|
||||
command_timeout = 1000
|
||||
format = """$os$username$hostname$kubernetes$directory$git_branch$git_status"""
|
||||
format = """$os$username$hostname$kubernetes$directory$python$git_branch$git_status"""
|
||||
|
||||
# Drop ugly default prompt characters
|
||||
[character]
|
||||
@@ -74,3 +74,12 @@ deleted = '[ deleted=${count}](fg:#FF6FAE) '
|
||||
[kubernetes]
|
||||
format = 'via [ $context\($namespace\)](bold fg:#6F78FF) '
|
||||
disabled = false
|
||||
|
||||
# Shows current Python version and virtualenv
|
||||
[python]
|
||||
symbol = ' '
|
||||
format = 'via [$symbol${version}( \($virtualenv\))]($style) '
|
||||
style = 'bold fg:#E297DB'
|
||||
pyenv_version_name = false
|
||||
detect_extensions = ['py']
|
||||
detect_files = ['.python-version', 'pyproject.toml', 'requirements.txt', 'setup.py', 'Pipfile']
|
||||
|
||||
Reference in New Issue
Block a user