black-on-white = "echo -e '\\033]11;black\\007\\033]10;white\\007'";
c = "bat";
cl = "clear";
- eic = "edit-in-commit";
- eigg = "edit-in-git-grep";
emacs = "emacsclient --create-frame";
g = "git";
+ ge = "git-edit-commit";
gg = "git grep";
+ gge = "git-grep-edit";
grep = "grep --color";
j = "sudo journalctl -u";
jb = "sudo journalctl -b";
done |
sort -nk1,1
}
- edit-in-commit () { $EDITOR $(git diff-tree --no-commit-id --name-only -r "$@"); }
- edit-in-git-grep () { $EDITOR $(git grep --name-only --recursive "$@"); }
+ git-edit-commit () { $EDITOR $(git diff-tree --no-commit-id --name-only -r "$@"); }
+ git-grep-edit () { $EDITOR $(git grep --name-only --recursive "$@"); }
# Recursively mount not-mounted dataset,
# loading their keys if needed.