add jj aliases; rm and update other aliases
This commit is contained in:
parent
e6e9310b29
commit
1262c2daee
1 changed files with 8 additions and 13 deletions
|
@ -37,12 +37,6 @@
|
||||||
searchDownKey = "^n";
|
searchDownKey = "^n";
|
||||||
};
|
};
|
||||||
|
|
||||||
# prezto = {
|
|
||||||
# enable = true;
|
|
||||||
# caseSensitive = false;
|
|
||||||
# editor.keymap = "vi";
|
|
||||||
# };
|
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
# disable control+s to pause terminal
|
# disable control+s to pause terminal
|
||||||
unsetopt FLOW_CONTROL
|
unsetopt FLOW_CONTROL
|
||||||
|
@ -85,14 +79,11 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"vi" = "nvim";
|
"vi" = "nvim";
|
||||||
"vim" = "nvim";
|
"vim" = "nvim";
|
||||||
"t" = "tmux";
|
|
||||||
"tl" = "tmux list-sessions";
|
|
||||||
"ta" = "tmux new-session -A -s";
|
|
||||||
"se" = "sudoedit";
|
"se" = "sudoedit";
|
||||||
"s" = "sudo";
|
"s" = "sudo";
|
||||||
"nrs" = "sudo nixos-rebuild switch -L --flake . --log-format internal-json -v |& nom --json";
|
"nrs" = "sudo nixos-rebuild switch -L --flake ~/nixos-config";
|
||||||
"nrt" = "sudo nixos-rebuild test -L --flake . --log-format internal-json -v |& nom --json";
|
"nrt" = "sudo nixos-rebuild test -L --flake ~/nixos-config";
|
||||||
"hrs" = "home-manager switch -L --flake .";
|
"hrs" = "home-manager switch -L --flake ~/nixos-config";
|
||||||
"g" = "git";
|
"g" = "git";
|
||||||
"ga" = "git add";
|
"ga" = "git add";
|
||||||
"gaa" = "git add --all";
|
"gaa" = "git add --all";
|
||||||
|
@ -100,7 +91,6 @@
|
||||||
"gc" = "git commit --verbose";
|
"gc" = "git commit --verbose";
|
||||||
"gcmsg" = "git commit --message";
|
"gcmsg" = "git commit --message";
|
||||||
"gd" = "git diff";
|
"gd" = "git diff";
|
||||||
"gdca" = "git diff --cached";
|
|
||||||
"gds" = "git diff --staged";
|
"gds" = "git diff --staged";
|
||||||
"gl" = "git log --stat";
|
"gl" = "git log --stat";
|
||||||
"glg" = "git log --graph";
|
"glg" = "git log --graph";
|
||||||
|
@ -113,6 +103,11 @@
|
||||||
"gs" = "git status --short";
|
"gs" = "git status --short";
|
||||||
"gss" = "git status";
|
"gss" = "git status";
|
||||||
"code" = "codium";
|
"code" = "codium";
|
||||||
|
"jl" = "jj log -n 10";
|
||||||
|
"jll" = "jj log";
|
||||||
|
"jd" = "jj diff";
|
||||||
|
"jn" = "jj new";
|
||||||
|
"jm" = "jj describe -m";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue