mirror of
				https://github.com/wting/autojump
				synced 2025-06-13 12:54:07 +00:00 
			
		
		
		
	Merge 10027b98ab into ee21082751
				
					
				
			This commit is contained in:
		
						commit
						3375cf2ebc
					
				| @ -1,8 +1,14 @@ | ||||
| set -gx AUTOJUMP_SOURCED 1 | ||||
| 
 | ||||
| # set user installation path | ||||
| if test -d ~/.autojump | ||||
|     set -x PATH ~/.autojump/bin $PATH | ||||
| # Set user installation path | ||||
| begin | ||||
|     set --local AUTOJUMP_BIN_PATH ~/.autojump/bin | ||||
|     if test -d $AUTOJUMP_BIN_PATH | ||||
|         # Add to PATH only if autojump not sourced yet | ||||
|         if not contains $AUTOJUMP_BIN_PATH $PATH | ||||
|             set -x PATH $AUTOJUMP_BIN_PATH $PATH | ||||
|         end | ||||
|     end | ||||
| end | ||||
| 
 | ||||
| # Set ostype, if not set | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user