You are not logged in.

#1 2021-11-19 10:56:27

Cvlc
Member
Registered: 2020-03-26
Posts: 295

[SOLVED] Bug ? pressing tab after nvme prints a new prompt

Hi,

Like the title says, typing 'nmve' in a shell then pressing tab results in a new inline prompt

[cedric@modern15 ~]$ nvme [cedric@modern15 ~]$

Cannot reproduce it with anything else. Is it a bug ?

Last edited by Cvlc (2021-11-24 14:37:27)

Offline

#2 2021-11-19 15:08:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,206

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

Aha, "A" shell.

Bash or zsh? (nvme-cli ships different completions for either)
Also what's your PS1 and do you use something like OMZ?

Online

#3 2021-11-19 15:35:03

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

Sorry, it's standard bash.

PS1='\[\e[1m\][\u@\h \W]\$ \[\e[0m\]'

Don't know what OMZ is

Last edited by Cvlc (2021-11-19 15:46:20)

Offline

#4 2021-11-20 08:24:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,206

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

Do you get the same behavior w/

nvme l # pressing tab should complete eg. "list"

Edit: "Oh-My-Zsh" … is broken because I installed OMZ hmm

Last edited by seth (2021-11-20 08:25:11)

Online

#5 2021-11-24 11:00:51

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

Hi, sorry I was away

[cedric@modern15 ~]$ nvme l[cedric@modern15 ~]$

same behavior with anything I type after nvme

I also tried restoring .bashrc to the skeleton file but it doesn't make any difference.

Last edited by Cvlc (2021-11-24 11:06:34)

Offline

#6 2021-11-24 13:06:02

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,206

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

Ok, tested. Happens in bash, the zsh autocompletion has a parsing error "_nvme:64: parse error near `>"
=> upstream bug for sure.

Online

#7 2021-11-24 13:47:59

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

Ok, that's what I thought.

Should I report it at https://github.com/linux-nvme/nvme-cli/issues or the Arch bugtracker ?

Offline

#8 2021-11-24 14:11:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,206

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

https://github.com/linux-nvme/nvme-cli/issues - they deploy the autocompletion scripts.

Online

#9 2021-11-24 14:38:15

Cvlc
Member
Registered: 2020-03-26
Posts: 295

Re: [SOLVED] Bug ? pressing tab after nvme prints a new prompt

Offline

Board footer

Powered by FluxBB