1
0
mirror of https://github.com/nvbn/thefuck.git synced 2024-10-05 18:31:10 +01:00
Commit Graph

1651 Commits

Author SHA1 Message Date
nvbn
2db0a215b4 Fix fuck when more than one git command available 2015-04-20 21:48:54 +02:00
Vladimir Iakovlev
f6f6e2223c Merge pull request #62 from sjuvekar/master
A special case for 'Permission denied' error msg when trying to execute ...
2015-04-20 18:52:35 +02:00
Vladimir Iakovlev
d86bf8da40 Merge pull request #60 from pcmitsis/patch-1
Update Readme to contain a link to the license
2015-04-20 18:50:09 +02:00
Vladimir Iakovlev
a77ca37be2 Merge pull request #64 from nwinkler/mkdir-p
mkdir -p
2015-04-20 18:49:10 +02:00
Vladimir Iakovlev
3fb7a0c123 Merge pull request #63 from KAMiKAZOW/patch-1
tweet, not twit
2015-04-20 18:48:33 +02:00
Nils Winkler
c0c584b13a mkdir -p
When adding directories using `mkdir`, intermediate directories have to
exist, unless you specify the `-p` option:

    $ mkdir foo/bar/baz
    mkdir: foo/bar: No such file or directory
    $ fuck
    mkdir -p foo/bar/baz
2015-04-20 18:38:03 +02:00
Markus S.
a81d9af621 tweet, not twit 2015-04-20 18:19:34 +02:00
Sudeep Juvekar
1d878243ca A special case for 'Permission denied' error msg when trying to execute a
python scripy.

The script does not have execute permission and/or does not start with !#/usr/...
In that case, pre-pend the command with 'python' keyword.

Change-Id: Idf73ee9cf0a523f51c78672188a457b2fcedc1e6
2015-04-20 12:11:06 -04:00
Sudeep Juvekar
cb31a1f7d0 A special case for 'Permission denied' error msg when trying to execute a
python scripy.

The script does not have execute permission and/or does not start with !#/usr/...
In that case, pre-pend the command with 'python' keyword.

Change-Id: Idf73ee9cf0a523f51c78672188a457b2fcedc1e6
2015-04-20 12:00:08 -04:00
Sudeep Juvekar
17397bf30f A special case for 'Permission denied' error msg when trying to execute a
python scripy.

The script does not have execute permission and/or does not start with !#/usr/...
In that case, pre-pend the command with 'python' keyword.

Change-Id: Idf73ee9cf0a523f51c78672188a457b2fcedc1e6
2015-04-20 11:00:35 -04:00
Sudeep Juvekar
411aea67f7 A special case for 'Permission denied' error msg when trying to execute a
python scripy.

The script does not have execute permission and/or does not start with !#/usr/...
In that case, pre-pend the command with 'python' keyword.

Change-Id: Idf73ee9cf0a523f51c78672188a457b2fcedc1e6
2015-04-20 10:49:39 -04:00
Panagiotis Mitsis
0b0ad0558a Update Readme to contain a link to the license
A small reference to the license from the readme file.
2015-04-20 16:32:50 +02:00
nvbn
9ecda9a399 Bump version to 1.13 2015-04-20 15:48:17 +02:00
nvbn
36d9e13ece #55 Add tests and check for command not found 2015-04-20 15:46:02 +02:00
nvbn
50dfef1d1b Merge branch 'master' of git://github.com/dannion/thefuck into dannion-master 2015-04-20 15:37:45 +02:00
nvbn
aca04c2b07 Merge branch 'suvjunmd-master'
Conflicts:
	README.md
2015-04-20 15:33:00 +02:00
Vladimir Iakovlev
0e84f33ae0 Merge pull request #54 from olysyuk/patch-1
Update README.md
2015-04-20 15:29:32 +02:00
Vladimir Iakovlev
33f1df5a26 Merge pull request #53 from nwinkler/rm_dir
Added rm -rf support
2015-04-20 15:28:56 +02:00
Vladimir Iakovlev
f1078ba4f6 Merge pull request #49 from deevus/deevus-patch-1
Add Powershell fuck command to README
2015-04-20 15:27:26 +02:00
Dmitri Suvorov
219534675a Fix typos 2015-04-20 16:03:18 +03:00
dannion
2b08a136b5 add a rule to run the script you enter by add './' in command's prefix 2015-04-20 19:48:27 +08:00
olysyuk
4f135728c5 Update README.md
OSX has a different bash file
http://stackoverflow.com/questions/8967843/how-do-i-create-a-bash-alias
2015-04-20 14:12:31 +03:00
Nils Winkler
0b7fd6ae2a Added rm -rf support
When someone tries to remove a directory without specifying `-rf`, e.g.

    $ mkdir foo
    $ rm foo

the shell refuses to remove the directory with an error:

    rm: foo: is a directory

Instead, you need to use

    $ rm -rf foo

This rule adds fuck support for this:

    $ mkdir foo
    $ rm foo
    rm: foo: is a directory
    $ fuck
    rm -rf foo
2015-04-20 12:32:32 +02:00
Nabeel Valapra
f9f757f618 Added rule:cp_omitting_directory 2015-04-20 14:34:09 +05:30
Simon Hartcher
9753e24b23 Add Powershell fuck command to README
Allows usage of fuck command in Windows Powershell
2015-04-20 15:11:29 +10:00
Vladimir Iakovlev
ef20a68d56 Merge pull request #45 from MarekAG/patch-1
Added requirements and update command
2015-04-19 22:37:15 +02:00
Vladimir Iakovlev
78171a469d Merge pull request #46 from felixonmars/sudo-operation-not-permitted-rule
sudo rule: add support for "Operation not permitted" errors
2015-04-19 17:08:06 +02:00
Felix Yan
a2c086ed73 sudo rule: add support for "Operation not permitted" errors 2015-04-19 22:53:09 +08:00
Vladimir Iakovlev
62bbb7021a Merge pull request #40 from rstacruz/patch-1
Readme: separate the examples to make them easier to read
2015-04-19 15:08:30 +02:00
Vladimir Iakovlev
0925ce0e87 Merge pull request #42 from felixonmars/sudo-mtr-rule
sudo rule: add support for mtr
2015-04-19 15:07:25 +02:00
Vladimir Iakovlev
6ccfd6c14e Merge pull request #44 from felixonmars/distribute-license
include LICENSE.md in source distribution
2015-04-19 15:06:23 +02:00
Vladimir Iakovlev
67666e4d01 Merge pull request #41 from rstacruz/patch-2
Readme: document cd_parent
2015-04-19 15:04:08 +02:00
nvbn
ab91eaf73d Revert "Merge pull request #36 from jjmason/improve-no-command"
This reverts commit 28a5c1214b, reversing
changes made to 3f0cbb9326.
2015-04-19 14:58:44 +02:00
Vladimir Iakovlev
28a5c1214b Merge pull request #36 from jjmason/improve-no-command
Improve no_command
2015-04-19 14:51:39 +02:00
Marek Strzała
38d040f5b7 Added requirements and update command
some of these can be non-obvious for not advanced users
2015-04-19 12:57:59 +02:00
SpyCheese
ceeccf1cd7 Update rm_root.py
Okay, there was an incorrect match function.
2015-04-19 10:21:46 +05:00
Felix Yan
c5ea99f9dc include LICENSE.md in source distribution 2015-04-19 12:47:12 +08:00
SpyCheese
f113bae59d Update rm_root.py 2015-04-19 09:12:19 +05:00
SpyCheese
2a79a5e413 Create rm_root.py 2015-04-19 09:03:34 +05:00
Felix Yan
0d577ffa83 sudo rule: add support for mtr 2015-04-19 11:57:01 +08:00
Rico Sta. Cruz
98f287dad5 Readme: document cd_parent 2015-04-19 10:34:43 +08:00
Rico Sta. Cruz
d4d1de7992 Readme: separate the examples to make them easier to read 2015-04-19 10:31:43 +08:00
Vladimir Iakovlev
3f0cbb9326 Merge pull request #38 from dietmax/master
Fixed grammar in comments for easier understanding
2015-04-19 02:16:58 +02:00
Max Dietrich
650c3f4e45 Fixed grammar in comments for easier understanding 2015-04-19 02:09:53 +02:00
Jon Mason
cc1a69fb65 another oopsie that was revealed in python3 2015-04-18 16:49:26 -05:00
Vladimir Iakovlev
a8e75aeced Fix #37 2015-04-18 23:47:47 +02:00
Jon Mason
8a2bc75e55 make it python 3 friendly 2015-04-18 16:46:02 -05:00
Jon Mason
ac545c6f0a improve no_comamnd rule, test it 2015-04-18 16:32:50 -05:00
nvbn
c2d315a6f6 Update readme 2015-04-18 23:22:04 +02:00
nvbn
0f7677d36c Merge branch 'master' of github.com:nvbn/thefuck 2015-04-18 23:19:59 +02:00