With company-mode on in shell-mode, if I'm in ~/bin I can get completions if I type ~/bin/someprog or even ../bin/someprog but not ./someprog – is there some setting to fix this?

1 Answer 1


This seems to be the reason: https://stackoverflow.com/a/220960/69663 A M-x shell-resync-dirs after using fasd to change dirs fixes it. It'd be nice if comint-dynamic-complete-filename or what it is could simply check /proc/$$/cwd instead …

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.