mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 06:38:32 +00:00
Merge 09c9504181feeb7e5d974056e2c3ebcfe754bfab into c7e7e1d884d3bb241ea6448f72a989434c2a35ec
This commit is contained in:
commit
c484adfa68
18
README.md
18
README.md
@ -142,14 +142,28 @@ On Arch based systems, install *The Fuck* with the following command:
|
||||
sudo pacman -S thefuck
|
||||
```
|
||||
|
||||
On other systems, install *The Fuck* by using `pip`:
|
||||
On other systems (including Windows), install *The Fuck* by using `pip`:
|
||||
|
||||
```bash
|
||||
pip install thefuck
|
||||
```
|
||||
|
||||
On Windows, if you encounter the error "ModuleNotFoundError: No module named 'imp'" when running *The Fuck*, please try the following:
|
||||
```bash
|
||||
pip uninstall thefuck
|
||||
pip install https://github.com/nvbn/thefuck/archive/master.zip
|
||||
```
|
||||
[Alternatively, you may use an OS package manager (OS X, Ubuntu, Arch).](https://github.com/nvbn/thefuck/wiki/Installation)
|
||||
|
||||
---
|
||||
|
||||
**Note for Windows users:** Also, on Windows, in order to run the command *fuck* on PowerShell/Terminal, you need to change the default ExecutionPolicy after running the PowerShell/Terminal as administrator as PowerShell does not allow remotely signed apps to be run by default (See [PowerShell Execution Policies](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4)):
|
||||
```bash
|
||||
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
<a href='#manual-installation' name='manual-installation'>#</a>
|
||||
It is recommended that you place this command in your `.bash_profile`,
|
||||
`.bashrc`, `.zshrc` or other startup script:
|
||||
@ -165,6 +179,8 @@ eval $(thefuck --alias FUCK)
|
||||
Changes are only available in a new shell session. To make changes immediately
|
||||
available, run `source ~/.bashrc` (or your shell config file like `.zshrc`).
|
||||
|
||||
---
|
||||
|
||||
To run fixed commands without confirmation, use the `--yeah` option (or just `-y` for short, or `--hard` if you're especially frustrated):
|
||||
|
||||
```bash
|
||||
|
Loading…
x
Reference in New Issue
Block a user