mirror of
				https://github.com/nvbn/thefuck.git
				synced 2025-10-30 22:54:14 +00:00 
			
		
		
		
	#531: Add example of alias for running without confirmation to readme
This commit is contained in:
		| @@ -130,6 +130,11 @@ eval "$(thefuck --alias FUCK)" | |||||||
| Changes will be available only in a new shell session. | Changes will be available only in a new shell session. | ||||||
| To make them available immediately, run `source ~/.bashrc` (or your shell config file like `.zshrc`). | To make them available immediately, run `source ~/.bashrc` (or your shell config file like `.zshrc`). | ||||||
|  |  | ||||||
|  | If you want separate alias for running fixed command without confirmation you can use alias like: | ||||||
|  |  | ||||||
|  | ```bash | ||||||
|  | alias fuck-it='export THEFUCK_REQUIRE_CONFIRMATION=False; fuck; export THEFUCK_REQUIRE_CONFIRMATION=True' | ||||||
|  | ``` | ||||||
|  |  | ||||||
| ## Update | ## Update | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user