mirror of
				https://github.com/ohmyzsh/ohmyzsh.git
				synced 2024-05-11 05:55:17 +00:00 
			
		
		
		
	BREAKING CHANGE: This commit removes aliases for some commands that previously were not being autocorrected. If you are using autocorrection, please check it.
		
			
				
	
	
		
			11 lines
		
	
	
		
			239 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			239 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| if [[ "$ENABLE_CORRECTION" == "true" ]]; then
 | |
|   alias cp='nocorrect cp'
 | |
|   alias man='nocorrect man'
 | |
|   alias mkdir='nocorrect mkdir'
 | |
|   alias mv='nocorrect mv'
 | |
|   alias sudo='nocorrect sudo'
 | |
|   alias su='nocorrect su'
 | |
| 
 | |
|   setopt correct_all
 | |
| fi
 |