10 lines
		
	
	
		
			255 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			255 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/env sh
 | |
| # hookup /tools/ to be usable no matter where
 | |
| # usage: `source hookup`
 | |
| 
 | |
| set +e
 | |
| 
 | |
| # TODO: prevent double hooking
 | |
| export PATH=$PATH:$(realpath $(dirname -- "${BASH_SOURCE[0]}")/bin/)
 | |
| export TWNROOT=$(realpath $(dirname -- "${BASH_SOURCE[0]}"))
 |