add shell abbrs
This commit is contained in:
		
							parent
							
								
									eb894264cf
								
							
						
					
					
						commit
						c17705354c
					
				
					 1 changed files with 20 additions and 0 deletions
				
			
		| 
						 | 
					@ -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;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue