From 4826c78a6696e56c279f509810664464b6a33d7d Mon Sep 17 00:00:00 2001 From: Minijackson Date: Wed, 22 Jan 2025 21:23:05 +0100 Subject: common/fish: add abbreviations for jujutsu --- common/commandline/fish.nix | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'common/commandline') diff --git a/common/commandline/fish.nix b/common/commandline/fish.nix index dabe819..4c3d5c6 100644 --- a/common/commandline/fish.nix +++ b/common/commandline/fish.nix @@ -7,9 +7,34 @@ interactiveShellInit = builtins.readFile ./fish.fish; shellAbbrs = { - o = "xdg-open"; + o = "open"; cpr = "rsync -ah --inplace --info=progress2"; + # Jujutsu + # ======= + + ja = "jj absorb"; + + jb = "jj bookmark"; + jbc = "jj bookmark create"; + jbl = "jj bookmark list"; + jbm = "jj bookmark move"; + jbt = "jj bookmark track"; + + jc = "jj commit"; + jcs = "jj show"; + jde = "jj desc"; + jed = "jj edit"; + jl = "jj log"; + jn = "jj new"; + jr = "jj rebase"; + ju = "jj undo"; + + jf = "jj git fetch"; + jfc = "jj git clone --colocate"; + ji = "jj git init --colocate"; + jp = "jj git push"; + # Git # === -- cgit v1.2.3