mirror of
				https://github.com/wlcx/home.git
				synced 2025-11-03 22:33:45 +00:00 
			
		
		
		
	Add rustup, git commit amend alias
This commit is contained in:
		
							parent
							
								
									6e6154210c
								
							
						
					
					
						commit
						d0cdad47fb
					
				@ -1,4 +1,4 @@
 | 
				
			|||||||
{ config, pkgs, ... }:
 | 
					{ pkgs, ... }:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
let mypkgs = (import ../modules/pkgs.nix { inherit pkgs; });
 | 
					let mypkgs = (import ../modules/pkgs.nix { inherit pkgs; });
 | 
				
			||||||
in {
 | 
					in {
 | 
				
			||||||
 | 
				
			|||||||
@ -13,6 +13,7 @@
 | 
				
			|||||||
      a = "add";
 | 
					      a = "add";
 | 
				
			||||||
      ap = "add -p";
 | 
					      ap = "add -p";
 | 
				
			||||||
      c = "commit";
 | 
					      c = "commit";
 | 
				
			||||||
 | 
					      ca = "commit --amend";
 | 
				
			||||||
      can = "commit --amend --no-edit";
 | 
					      can = "commit --amend --no-edit";
 | 
				
			||||||
      cm = "commit -m";
 | 
					      cm = "commit -m";
 | 
				
			||||||
      co = "checkout";
 | 
					      co = "checkout";
 | 
				
			||||||
 | 
				
			|||||||
@ -1 +1 @@
 | 
				
			|||||||
{ dev = { ... }: { imports = [ ./default.nix ./git.nix ./macs.nix ]; }; }
 | 
					{ dev = { ... }: { imports = [ ./default.nix ./git.nix ./macs.nix ./rust.nix ]; }; }
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										1
									
								
								home/rust.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								home/rust.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					{ pkgs, ... }: { home.packages = [ pkgs.rustup ]; }
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user