Thank you Andreas, Is there a way to use git bash completion with "M-x shell"? Marko On Mon, Apr 16, 2018 at 11:25 AM, Andreas Schwab <schwab@xxxxxxxxxxxxxx> wrote: > On Apr 16 2018, Marko Vasic <vasic@xxxxxxxxxx> wrote: > >> Git bash completion script works perfectly under the terminal, >> however, it does not work in Emacs (neither shell nor gui mode). Did >> anyone encounter this issues and how can it be solved? > > Depend on how you run the command in Emacs. If you use M-x shell then > Emacs handles special keys like TAB itself (and the started shell > usually disables its own command line editing). If you use M-x term > then Emacs emulates a terminal and lets the running process handle all > special keys. > > Andreas. > > -- > Andreas Schwab, schwab@xxxxxxxxxxxxxx > GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 > "And now for something completely different."