mirror of
				https://github.com/lukechilds/zsh-nvm.git
				synced 2025-10-30 14:46:28 +08:00 
			
		
		
		
	Add sh shebang to tests so we get syntax highlighting
This commit is contained in:
		
							parent
							
								
									dd55eb6048
								
							
						
					
					
						commit
						e26a39b1f2
					
				| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| export test_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) | ||||
| export repo_dir="$test_dir/.." | ||||
| export NVM_DIR="$repo_dir/.nvm" | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| nvm_placeholder="nvm placeholder" | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| # We don't need to actually load nvm for this test | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| # Check nvm isn't already installed | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| # We don't need to actually load nvm for this test | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| # Check nvm isn't already loaded | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| # Load zsh-nvm | ||||
|  | ||||
| @ -1 +1,2 @@ | ||||
| #!/bin/sh | ||||
| rm -rf ../../.nvm | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| # Version to revert nvm to | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| #!/bin/sh | ||||
| source ../common.sh | ||||
| 
 | ||||
| # Version to revert nvm to | ||||
|  | ||||
| @ -1 +1,2 @@ | ||||
| #!/bin/sh | ||||
| rm -rf ../../.nvm | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Luke Childs
						Luke Childs