mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-11-04 00:52:04 +00:00 
			
		
		
		
	Updated Shell aliases (markdown)
@@ -31,4 +31,16 @@ iex "$(thefuck --alias)"
 | 
			
		||||
 | 
			
		||||
```tcsh
 | 
			
		||||
alias fuck 'set fucked_cmd=`history -h 2 | head -n 1` && eval `thefuck ${fucked_cmd}`'
 | 
			
		||||
```
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
# xonsh
 | 
			
		||||
 | 
			
		||||
Install the xonsh extension:
 | 
			
		||||
```
 | 
			
		||||
pip install xontrib-thefuck
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
And then load it (you can add this to xonshrc for it to be loaded in every xonsh session):
 | 
			
		||||
```
 | 
			
		||||
xontrib load thefuck
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user