Override just command
				
					
				
			If a `.ignored/justfile` exists, e.g. for open-source projects I can't commit a `justfile` to, use it by default.
This commit is contained in:
		
							parent
							
								
									634ed23325
								
							
						
					
					
						commit
						5d3f7ef58f
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -58,6 +58,14 @@
 | 
			
		|||
        t "''${repo_path}"
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      just() {
 | 
			
		||||
        if [[ -f .ignored/justfile ]]; then
 | 
			
		||||
          ${pkgs.just}/bin/just --justfile .ignored/justfile "''${@}"
 | 
			
		||||
        else
 | 
			
		||||
          ${pkgs.just}/bin/just "''${@}"
 | 
			
		||||
        fi
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      ttyper() {
 | 
			
		||||
        command ${pkgs.ttyper}/bin/ttyper --language english1000 --words 50 "''${@}"
 | 
			
		||||
      }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue