Skip to content

Instantly share code, notes, and snippets.

View camtheman256's full-sized avatar
💼

Cameron Kleiman camtheman256

💼
View GitHub Profile
@camtheman256
camtheman256 / fish_jj_prompt.fish
Last active May 29, 2025 15:56 — forked from hroi/fish_jj_prompt.fish
Jujutsu (jj) prompt for fish-shell with some modifications to use the label function to add colouring
# 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