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