1

Is there any way to use Tab key to suggest or auto-complete text or predefined variables on Laravel Tinker?

Majid Alaeinia
  • 962
  • 2
  • 11
  • 27

1 Answers1

1

I've had this issue a few weeks ago but when i use php7.2* its solved.

its good to tell you i use zsh in ubuntu. but it works right in bash locating in windows wsl and bash in ubnutu too

enter image description here

Ehsan Ahmadi
  • 1,382
  • 15
  • 16
  • I'm using `zsh` on ubuntu too, and also `php7.3.*`. I tried both in `zsh` and `bash shell`, but no suggestion yet. – Majid Alaeinia Jun 16 '19 at 08:08
  • which version of Laravel are you using ? i'm using 5.5.45 at this moment and i uncommented the section related to enabling bash completion which is locating in /etc/bash.bashrc – Ehsan Ahmadi Jun 16 '19 at 12:44
  • 1
    Nah, I have done that and no suggestions yet. I am using Laravel `5.8.*`. – Majid Alaeinia Jun 16 '19 at 13:20