nvbn
69a9516477
Add ability to change settings via environment variables
2015-04-22 20:18:53 +02:00
Timo Furrer
c788dfbc14
fix rm dir rule to make it case insensitive
...
In bash the output for the command `rm -f foo/` is:
rm: cannot remove ‘foo/’: Is a directory
And not:
rm: cannot remove ‘foo/’: is a directory
2015-04-22 19:04:52 +02:00
nvbn
e7b78205f4
Add transparent sudo support for rules where it required
2015-04-22 16:45:38 +02:00
nvbn
7010b3a7f6
#43 Add test for rm_root
2015-04-22 16:22:10 +02:00
nvbn
fa4e4522b7
#43 Add rm_root
as disabled by default rule
2015-04-22 16:08:54 +02:00
nvbn
14ef5c7d1c
Merge branch 'patch-1' of git://github.com/SpyCheese/thefuck into SpyCheese-patch-1
2015-04-22 16:03:20 +02:00
nvbn
957209bdb6
Add ability to bundle disabled by default rules
2015-04-22 15:59:44 +02:00
nvbn
8376fed459
Merge branch 'master' of github.com:nvbn/thefuck
2015-04-22 06:03:34 +02:00
nvbn
5d424dad88
Use colorama for colored output
2015-04-22 06:03:06 +02:00
nvbn
126194ec2e
Put errors in stderr instead of "echo ..." in stdout
2015-04-22 05:29:44 +02:00
Dugucloud
79fb7c987c
Added sudo rule for Fedora yum's output.
2015-04-22 09:26:45 +08:00
Vladimir Iakovlev
a794b58729
Merge pull request #86 from dionyziz/switch_lang_greek
...
Add Greek to switch lang
2015-04-21 22:19:23 +02:00
nvbn
d1416a6c2a
#82 Remove unned print, fix python 3 support
2015-04-21 22:10:53 +02:00
nvbn
3df77b5bad
Merge branch 'ssh-known-hosts' of git://github.com/nicwest/thefuck into nicwest-ssh-known-hosts
2015-04-21 22:06:21 +02:00
Dionysis Zindros
4b8d4926aa
Add Greek to switch lang
2015-04-21 22:00:05 +02:00
Nic West
943613a194
add thing for when known hosts have changed
2015-04-21 17:05:52 +01:00
Lukas Vacek
93b6a623e1
adding rule to run "sudo apt-get install"
2015-04-21 17:59:44 +02:00
nvbn
888756d519
#74 Don't fail when rule throws exception
2015-04-21 14:40:52 +02:00
nvbn
d5b4bddc4c
#74 Don't fail when runned without args
2015-04-21 14:26:45 +02:00
nvbn
d09238a6e8
Merge branch 'master' of github.com:nvbn/thefuck
...
Conflicts:
thefuck/rules/sudo.py
2015-04-21 14:23:31 +02:00
Dugucloud
de4b774134
Added a string which could be thrown by Fedora's new dnf package manager.
2015-04-21 19:43:10 +08:00
Soheil Rashidi
3af5c80d29
Add 'root privilege' pattern to sudo rule.
2015-04-21 12:57:35 +04:30
nvbn
bd5f5045aa
#71 Handle iterdir
iterator fails
2015-04-21 08:57:35 +02:00
nvbn
798928b5ad
#71 Don't fail on non-exists dir in $PATH
2015-04-21 08:45:45 +02:00
nvbn
f2392349f7
#71 Handle OSError
more gratefully
2015-04-21 08:38:52 +02:00
nvbn
478fa4cd09
#71 Not fail on os error
2015-04-21 08:30:48 +02:00
Vladimir Iakovlev
273fc097bd
Update switch_lang.py
2015-04-21 07:16:36 +02:00
Vladimir Iakovlev
00d0987cf5
Merge pull request #70 from fzerorubigd/master
...
add persian language to switch lang rule
2015-04-21 07:15:53 +02:00
fzerorubigd
3798c341d5
add persian language to switch lang rule
...
refs #28
2015-04-21 09:42:13 +04:30
nvbn
e3edea05ed
#24 Make no_command
crossplatform
2015-04-21 06:55:47 +02:00
nvbn
ab8ac23749
Fix python 3 support
2015-04-21 06:33:51 +02:00
nvbn
e7d5d93056
#68 Add rule for switching layout
2015-04-21 06:26:15 +02:00
nvbn
5ccf163594
command.script
now unicode
2015-04-21 06:24:40 +02:00
nvbn
e822fade4c
#10 Add require_confirmation
option
2015-04-21 05:30:15 +02:00
nvbn
7888315196
#52 Use cp -a
, add tests
2015-04-20 22:00:37 +02:00
nvbn
3665a23b9a
Merge branch 'master' of git://github.com/NabeelValapra/thefuck into NabeelValapra-master
2015-04-20 21:54:29 +02:00
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
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
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
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
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
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
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
Felix Yan
a2c086ed73
sudo rule: add support for "Operation not permitted" errors
2015-04-19 22:53:09 +08:00
SpyCheese
ceeccf1cd7
Update rm_root.py
...
Okay, there was an incorrect match function.
2015-04-19 10:21:46 +05: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