diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-11-23 16:37:55 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-11-23 16:37:55 +0800 |
| commit | c207ac077570240bed7d0eb2025178e12c8fd55a (patch) | |
| tree | d7456a3f089cedfcc6659a2ef073a938905ec979 /dot-config/fish/conf.d/jj.abbr.fish.disabled | |
| parent | 33d9ab481109338ba4deca6c7a445875b33b1e59 (diff) | |
bump: fish
Diffstat (limited to 'dot-config/fish/conf.d/jj.abbr.fish.disabled')
| -rw-r--r-- | dot-config/fish/conf.d/jj.abbr.fish.disabled | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dot-config/fish/conf.d/jj.abbr.fish.disabled b/dot-config/fish/conf.d/jj.abbr.fish.disabled new file mode 100644 index 00000000..5c67a686 --- /dev/null +++ b/dot-config/fish/conf.d/jj.abbr.fish.disabled @@ -0,0 +1,18 @@ +abbr -a g jj +abbr -a gp 'jj git push --tracked' +abbr -a gpd 'jj git push --deleted' +abbr -a gs 'jj st' +abbr -a gl 'jj log' +abbr -a gc 'jj commit' +abbr -a gb 'jj bookmark' +abbr -a gi 'jj --ignore-immutable' +abbr -a gr 'jj git remote' +function gd + if test (count $argv) -ge 2 + jj diff --from $argv[1] --to $argv[2] + else if test (count $argv) -ge 1 + jj diff --from $argv[1] --to @ + else + jj diff --from @- --to @ + end +end |
