Skip to content

Instantly share code, notes, and snippets.

View camtheman256's full-sized avatar
💼

Cameron Kleiman camtheman256

💼
View GitHub Profile
@hroi
hroi / fish_jj_prompt.fish
Last active May 29, 2025 15:55
Jujutsu (jj) prompt for fish-shell
# Place me in ~/.config/fish/functions
# Then add me to `fish_vcs_prompt`: `funced fish_vcs_prompt` and save it to
# your personal config: `funcsave fish_vcs_prompt;`
function fish_jj_prompt --description 'Write out the jj prompt'
# Is jj installed?
if not command -sq jj
return 1
end