You've already forked httpie-cli
							
							
				mirror of
				https://github.com/httpie/cli.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	Fix https behaviour in fish (#1611)
				
					
				
			Using the name `https` to invoke HTTPie should make HTTPie default to the https:// scheme, but using a fish function to replace invocations of `https` with invocations of `http` defeats this behaviour. Instead, just tell fish to complete `https` in the same way as `http`.
This commit is contained in:
		| @@ -116,6 +116,4 @@ complete -c http      -l debug             -d 'Show debugging output' | ||||
|  | ||||
| # Alias for https to http | ||||
|  | ||||
| function https --wraps http | ||||
|         http $argv; | ||||
| end | ||||
| complete -c https -w http | ||||
|   | ||||
		Reference in New Issue
	
	Block a user