Skip to content

Instantly share code, notes, and snippets.

View cole-h's full-sized avatar
🦀
+ ❄ = ❤

Cole Helbling cole-h

🦀
+ ❄ = ❤
View GitHub Profile
function fish_jj_prompt --description 'Write out the jj prompt'
# Is jj installed?
if not command -sq jj
return 1
end
# Are we in a jj repo?
if not jj root &>/dev/null
return 1
end