summaryrefslogtreecommitdiff
path: root/fish/.config
diff options
context:
space:
mode:
authorGrace Yoder <grace_yoder@outlook.com>2026-02-25 11:34:24 -0500
committerGrace Yoder <grace_yoder@outlook.com>2026-02-25 11:34:24 -0500
commitca6bb218fbfcf67bd75cc57594a353cf11be1802 (patch)
tree25dd0354f5f0044de7af02b54cf823a999943524 /fish/.config
parentea8682571c35cc17dfe2c0f3797a63e86616801a (diff)
fish and nvim
Diffstat (limited to 'fish/.config')
-rw-r--r--fish/.config/starship.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/.config/starship.toml b/fish/.config/starship.toml
index 3587f05..103c6c5 100644
--- a/fish/.config/starship.toml
+++ b/fish/.config/starship.toml
@@ -98,7 +98,7 @@ git status --porcelain | awk '
}
'
'''
-when = 'test -d .git && ! test -d .jj'
+when = 'git rev-parse --is-inside-work-tree 2>/dev/null && ! jj root 2>/dev/null'
shell = ["sh"]
format = "[](fg:overlay)[[ $output ](bg:overlay)]($style)[](fg:overlay) "
style = "bg:overlay fg:love"