Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
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 …
Required, but never shown