Skip to content

Instantly share code, notes, and snippets.

@noahmayr
noahmayr / fzf-jj.sh
Last active April 7, 2024 14:25 — forked from chooglen/fzf-jj.zsh
Interactive `jj` with `fzf`
#!/bin/sh
### CONFIG ###
changeIdColumn="2"
commitIdColumn="3"
nodeTypes="@○◆•"
delimiterPattern='((?:^[^ ] +)|[^[:alnum:]:.])+'
defaultLogArgs=""
copyStdinToClipboard="pbcopy"
### END CONFIG ###
# need to export this so all subshells created by fzf are also going to use sh and the correct PATH env var