add shell abbrs

This commit is contained in:
Leonardo Eugênio 2022-08-01 21:32:44 -03:00
parent eb894264cf
commit c17705354c

View file

@ -219,6 +219,26 @@ in {
set -g __accent_color "${accent.color}" set -g __accent_color "${accent.color}"
alias _fish_prompt_accent "_fish_prompt_color '$__accent_color'" alias _fish_prompt_accent "_fish_prompt_color '$__accent_color'"
''; '';
shellAbbrs = {
sv = "sudo systemct";
suv = "sudo systemct --user";
# git abbrs
g = "git";
ga = "git add";
gs = "git status";
gsh = "git show";
gl = "git log";
gg = "git graph";
gd = "git diff";
gds = "git diff --staged";
gc = "git commit";
gca = "git commit --all";
gcf = "git commit --fixup";
gp = "git push -u origin (git branch --show-current)";
gw = "git switch";
gr = "cd (git root)";
gri = "git rebase --interactive FETCH_HEAD";
};
}; };
home.file = { home.file = {
# ".config/sway/config".source = ./sway; # ".config/sway/config".source = ./sway;