mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-11-04 09:02:08 +00:00 
			
		
		
		
	Updated Shell aliases (markdown)
@@ -2,14 +2,14 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Add this alias to `.bashrc` or `.bash_profile` (for OSX):
 | 
					Add this alias to `.bashrc` or `.bash_profile` (for OSX):
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
 | 
					eval "$(thefuck-alias)"
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ZSH
 | 
					# ZSH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Add this alias to `.zshrc`:
 | 
					Add this alias to `.zshrc`:
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
alias fuck='eval $(thefuck $(fc -ln -1 | tail -n 1)); fc -R'
 | 
					eval "$(thefuck-alias)"
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Fish
 | 
					# Fish
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user