-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Getting error "no entry" when using cd in some directories. #101
Comments
I moved the directory to be |
Seems fixed. Please check it out with latest master. |
Seems to be, can't reproduce the issue |
Can I say done? |
Same here to me! I'm using enhancd via zplug but I don't believe that's the problem. Fuzzy search engine - fzy
Current enhancd version/revision
Error sample 18:20 in /
➜ cd Desktop
no entry
18:20 in /
➜ cd ~
18:20 in ~
➜ cd Desktop
18:20 in ~/Desktop
➜ echo $PWD
/home/jcorradi/Desktop As @a5ob7r mentioned, I already have noticed grep conflict matchers: ➜ grep -EF ~/.enhancd/enhancd.log
grep: conflicting matchers specified I tried to remove |
More infos: I returned the repository revision to
|
Wow! Same idea on same time! I'll try others revisions to understand when the things goes wrong. |
It seens to be the latest
|
Oh, nice report. Thank you all. I couldn't get this behavior with my grep so couldn't find this problem. Anyway I'll work on this problem. |
enhancd introduces an issue with rev 0d39876 that prevents it from working properly on some situations. See babarot/enhancd#101 for details.
Hi, all. Sorry for inconvenience 😞 I managed to fix this reported behavior. All seemed to get back before. Please check it out. Thank you! |
Issue was fixed in babarot/enhancd#101
Hey, @b4b4r07 Here the steps I take to update:
11:39 in ~/.enhancd
➜ mv ~/.enhancd/enhancd.log ~/.enhancd/enhancd.log.old
11:39 in ~/.enhancd
➜ touch ~/.enhancd/enhancd.log
11:43 in ~/.enhancd
➜ cd Desktop
__enhancd::cd::builtin:cd:5: no such file or directory: Desktop
11:43 in ~/.enhancd
➜ cd Desktop
no entry
11:43 in ~/.enhancd
➜ grep -EF ~/.enhancd/enhancd.log
grep: conflicting matchers specified PS: Even with the old |
Just FYI this is fixed for me as of the latest master. |
Thanks for your advice, @kampka, but you possible dived into old MacOS setup files that I keep in the repo for historical purposes, but I'm in Ubuntu 19.04 and the ➜ uname -a
Linux (hidden user/host names) 5.0.0-29-generic #31-Ubuntu SMP Thu Sep 12 13:05:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux |
Hello, @juliogc. When it occured "no entry" using enhancd in your environment, does it have a destination directory path in your enhancd.log file? # when
$ cd Desktop
no entry
# the entry in enhancd.log
$ grep Desktop ~/.enhancd/enhancd.log
/home/user/Desktop |
Hi, @a5ob7r ! I checked out the log file with |
Hi, @juliogc. Thank you for your replay appnding gif! 👍 Did you use an AUTO_CD option of zsh to change directory? Maybe, implicit Implicit cd $ grep Desktop ~/.enhancd/enhancd.log
# None
# in zsh with AUTO_CD
$ ~/Desktop
$ grep Desktop ~/.enhancd/enhancd.log
# None Explicit cd $ grep Desktop ~/.enhancd/enhancd.log
# None
$ cd ~/Desktop
$ grep Desktop ~/.enhancd/enhancd.log
/home/user/Desktop |
@a5ob7r Usually I use to navigate via implicit cd, but I really doesn't know that it was a feature from zsh 😂 I thought it was related to enhancd. Btw, here are another sample using explicit cd. |
@juliogc I also had a similar experience, too. 😆 Did you solve your problem? |
@a5ob7r this weekend I spent more time making some tests but I don't found any final solution 😢 But there are two workarounds that you could try:
The most worrying thing that I found in the whole process is that I tried to start a clean terminal setup with a fresh install from |
Hey all, sorry for late response...! Hmm, it's strange.. It didn't happen in my environment. Because I removed conflicting flags from grep command. Could you @juliogc tell me your grep command version? I wanna investigate why this happen in your env. |
Don't worry, @b4b4r07 ! Here some useful outputs: ➜ grep --version
grep (GNU grep) 3.3
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Mike Haertel and others; see
<https://git.sv.gnu.org/cgit/grep.git/tree/AUTHORS>.
➜ zsh --version
zsh 5.5.1 (x86_64-ubuntu-linux-gnu)
➜ zplug --version
2.4.2 |
This has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Hello, guys, just a simple update: I'm using now the Thank you everyone!! |
This has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
I think the issue I'm having here is the same.
Consider the tree:
Also, anytime the It looks like I'm having most of the problems with |
It's maybe fixed now on latest master. Because I did some big changes. Close once but feel free to let me know if you have still some problems |
What did you expect to happen?
enhancd to let me traverse all local directories
What actually happened?
In only a certain subset of directories, I get either the "no entry" response when I give no arguments, or if I provide
..
, it won't actually change to the directory I selected.Output
Additional context
This only seems to happen in a directory named
c++
(~/Projects/c++
). Maybe it doesn't work with non alphanumerics.The text was updated successfully, but these errors were encountered: