Add Git branch and fix directory module

This commit is contained in:
Violet Millie 2024-06-04 20:29:11 +01:00
parent 003c6c0741
commit 87d45f708b
1 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,5 @@
format = '''
$time $username@$hostname $directory
$time $username@$hostname $directory $git_branch
$character
'''
@ -28,4 +28,9 @@ format="$hostname"
style=""
[directory]
format="$directory"
format="$path"
[git_branch]
format="$symbol $branch"
symbol= '🌱'
disabled=false