jjf 0.2.0

Fuzzy revision picker for jujutsu (jj). Wraps any jj subcommand with an interactive picker over jj log, with a live jj show preview pane.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub const BASH: &str = include_str!("bash.sh");
pub const ZSH: &str = include_str!("zsh.sh");
pub const FISH: &str = include_str!("fish.fish");
pub const NU: &str = include_str!("nu.nu");

pub fn snippet(shell: &str) -> Option<&'static str> {
    match shell {
        "bash" => Some(BASH),
        "zsh" => Some(ZSH),
        "fish" => Some(FISH),
        "nu" | "nushell" => Some(NU),
        _ => None,
    }
}