Add direnv support
Fixes magit git config issues and missing nix shells
This commit is contained in:
		
							parent
							
								
									bd40189259
								
							
						
					
					
						commit
						b79eac8ea0
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		
							
								
								
									
										5
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
					@ -121,6 +121,11 @@
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
  (editorconfig-mode 1))
 | 
					  (editorconfig-mode 1))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					;; Direnv support (nix shell, gitconfig, etc...)
 | 
				
			||||||
 | 
					(use-package direnv
 | 
				
			||||||
 | 
					  :config
 | 
				
			||||||
 | 
					  (direnv-mode))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; Remove trailing whitespace
 | 
					;; Remove trailing whitespace
 | 
				
			||||||
(use-package ws-butler
 | 
					(use-package ws-butler
 | 
				
			||||||
  :config
 | 
					  :config
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue