`prompt` in `~/.myclirc` is completely ignored after updating to 1.27.1.
your-diary opened this issue · 5 comments
your-diary commented
$ mycli --version
Version: 1.27.1
$ grep prompt ~/.myclirc
prompt = '\n\A (\d) > '
$ mycli -D main #`prompt` in `~/.myclirc` is ignored.
MySQL root@localhost:t>
$ mycli --prompt hello_world -D main #`--prompt` is respected though.
hello_world
I don't have this problem in 1.27.0.
Maybe due to
your-diary commented
Reverting #1145 in my local environment fixed the problem.
amjith commented
Thanks for reporting it. I'll try and reproduce it.
otooi commented
I experienced the same symptoms.
When I rolled back #1144 as @your-diary said, I was able to use the prompt normally.
The prompt I used was this.
prompt = '\u@\h:\p:\d\_>\n'
hzc989 commented
sorry to produce the bug and bother you guys [lol] , I recently encountered that and found this issue.