1
0
mirror of https://github.com/nvbn/thefuck.git synced 2025-02-27 23:39:02 +00:00

28 Commits

Author SHA1 Message Date
Pablo Aguiar
8db3cf6048 Support aliases with equal sign ()
* #N/A: Remove `pip` from requirements.txt

* : Expect aliases declared with equal sign too

This fixes 
2018-05-13 15:29:33 +02:00
David Hart
83e1710712 Fix fish shell aliasing ()
* Handle user defined fish aliases

* Add more aliases to test

* Revert unecessary Popen mock changes

* Add test for fish aliasing

Fixes 
2018-01-02 23:14:02 -05:00
Pablo Santiago Blum de Aguiar
045c8ae76c : Assert TF_SHELL is defined in bash and zsh aliases 2018-01-02 17:18:34 -02:00
Pablo Santiago Blum de Aguiar
bcb749722b : Set SHELL env var for fish and tcsh 2018-01-02 17:18:34 -02:00
Vladimir Iakovlev
754bb3e21f #N/A: Reset environment variables in tests 2017-08-03 12:18:05 +02:00
Vladimir Iakovlev
cfa831c88d : Add --repeat option 2017-03-28 18:09:38 +02:00
Vladimir Iakovlev
beda1854cf : Add bash support 2017-03-28 12:01:09 +02:00
Vladimir Iakovlev
ec37998a10 : Add support of arguments to fuck, like fuck -y on zsh 2017-03-28 11:31:06 +02:00
Vladimir Iakovlev
14a9cd85aa : Allow to configure alias automatically by calling fuck twice 2017-03-13 21:50:13 +01:00
Vladimir Iakovlev
a778ea6203 : Stop using bashlex 2017-01-11 14:58:50 +01:00
Vladimir Iakovlev
6baa7f650e Merge pull request from josephfrazier/bash-command-substitution
bash: fix parsing of command substitution
2016-11-30 15:49:47 +01:00
Joseph Frazier
dbedcc7aa6 Test parsing bash arithmetic expressions 2016-11-23 07:36:58 -05:00
Joseph Frazier
892e8a8e65 Test parsing bash command substitution
This is to help address bad corrections like the following (note the
position of the -p flag):

    thefuck 'git log $(git ls-files thefuck | grep python_command) -p'
    git log $(git ls-files thefuck | grep -p python_command) [enter/↑/↓/ctrl+c]
2016-11-18 14:43:00 -05:00
Pablo Santiago Blum de Aguiar
a947259eef : Use builtin history in Fish function
Fix 
2016-11-17 22:57:11 -02:00
Pablo Santiago Blum de Aguiar
96f7e53aa2 : Alter history only when configured to do so 2016-04-30 18:39:08 -03:00
Pablo Santiago Blum de Aguiar
d1f55603fe : Merge history only when alter_history is set 2016-04-29 23:21:28 -03:00
nvbn
d5ae3a6b41 Merge branch 'fish-put-to-history' of https://github.com/scorphus/thefuck into scorphus-fish-put-to-history
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2016-04-22 03:14:31 +03:00
Pablo Santiago Blum de Aguiar
cdccf1881e : Use a better name for that env var 2016-04-06 23:11:19 -03:00
Pablo Santiago Blum de Aguiar
db6053b301 : Update default overridden aliases with user's 2016-04-06 22:58:08 -03:00
Matt Kotsenas
6daf687237 Add Powershell as a supported shell
- There may be additional functionality to implement, but I've been
  running this way for a month with no known issues
2016-03-16 16:06:09 -07:00
Pablo Santiago Blum de Aguiar
bb5f6bb705 : Set variables within the alias
Fix 
2016-03-09 21:58:18 -03:00
nvbn
7ce4307c87 : Don't invoke bash for getting aliases 2016-03-01 01:28:21 +03:00
nvbn
f7f0660114 : Don't invoke zsh for getting aliases 2016-03-01 01:21:51 +03:00
nvbn
9b260eb239 ⚠️ : Change history only on shell side 2016-02-22 18:31:28 +03:00
mcarton
4af7dc2748 Let bash handle bash’s history 2016-02-22 14:53:53 +01:00
nvbn
fe07fcaa62 : Remove shells methods wrappers 2016-01-29 13:09:40 +03:00
nvbn
94f8652175 #N/A: Add tests for tcsh 2016-01-23 05:06:33 +03:00
nvbn
abe287a52b #N/A: Split shells module 2016-01-23 05:06:22 +03:00