Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange suggestions for cd ,, #380

Open
LinusU opened this issue Oct 9, 2015 · 3 comments
Open

Strange suggestions for cd ,, #380

LinusU opened this issue Oct 9, 2015 · 3 comments

Comments

@LinusU
Copy link

LinusU commented Oct 9, 2015

I often type cd ,, when I meant to type cd ... thefuck suggest the following things for that command.

  • mkdir -p ,, && cd ,,
  • mkdir -p ,, && cd ,, (yes, the same twice)
  • cd .

It would be great to get rid of the duplicate and to add cd .. as well

@ariefbayu
Copy link

in my case, it gives the following:

  • mkdir -p ,, && cd ,,
  • mkdir -p ,, && cd ,,
  • cd ..

nvbn added a commit that referenced this issue Oct 13, 2015
@scorphus
Copy link
Collaborator

scorphus commented Aug 8, 2021

cd .. comes from the history rule.

@Rom1deTroyes
Copy link
Contributor

Don't know if there is anything to do here, but with actual version, cd .. is still not a choice, even if it's on my shell history.

If you can give me some indication on how to investigate on this, I will be happy to try and contribute :-)

cd ,,
cd: aucun fichier ou dossier de ce type: ,,
❯ fuck
mkdir -p ,, && cd ,, [enter/↑/↓/ctrl+c]
cd ~ [enter/↑/↓/ctrl+c]
❯ thefuck --version
The Fuck 3.32 using Python 3.9.2 and ZSH 5.8

❮ cd ..                                                                                                                                      ─╯
bck-i-search: cd_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants