mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 01:28:56 +00:00
fix spelling
This commit is contained in:
parent
9ecda9a399
commit
de0068aeb2
14
README.md
14
README.md
@ -1,8 +1,8 @@
|
|||||||
# The Fuck [](https://travis-ci.org/nvbn/thefuck)
|
# The Fuck [](https://travis-ci.org/nvbn/thefuck)
|
||||||
|
|
||||||
Magnificent app which corrects your previous console command,
|
Magnificent app which corrects your previous console command,
|
||||||
inspired by [@liamosaur](https://twitter.com/liamosaur/status/506975850596536320)
|
inspired by [@liamosaur](https://twitter.com/liamosaur/status/506975850596536320)'s
|
||||||
twit.
|
tweet.
|
||||||
|
|
||||||
Few examples:
|
Few examples:
|
||||||
|
|
||||||
@ -109,12 +109,12 @@ end
|
|||||||
Or in your Powershell `$PROFILE` on Windows:
|
Or in your Powershell `$PROFILE` on Windows:
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
function fuck {
|
function fuck {
|
||||||
$fuck = $(thefuck (get-history -count 1).commandline)
|
$fuck = $(thefuck (get-history -count 1).commandline)
|
||||||
if($fuck.startswith("echo")) {
|
if($fuck.startswith("echo")) {
|
||||||
$fuck.substring(5)
|
$fuck.substring(5)
|
||||||
}
|
}
|
||||||
else { iex "$fuck" }
|
else { iex "$fuck" }
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user