Hi,
I came across something odd while trying to migrate VMs & CTs to 4.0 with backup & restore. I noticed how both "pct restore" and qmrestore dont seem to auto complete paths if you tab. Like "pct restore 12345 /var/li<TAB>" does nothing but hang the shell for a second or so. However if you do
... bash completion for paths works just fine with the alias. There don't seem to be any rules for those particular binaries in /etc/bash_completion.d which made me wonder... is there another place where rules for those files might be defined? I've never actually worked with custom bash completions before so I might be missing something integral, but I'm not sure what that might be.
PS: Just upgraded, same behaviour in 4.1.
I came across something odd while trying to migrate VMs & CTs to 4.0 with backup & restore. I noticed how both "pct restore" and qmrestore dont seem to auto complete paths if you tab. Like "pct restore 12345 /var/li<TAB>" does nothing but hang the shell for a second or so. However if you do
Code:
alias pc="pct restore"
PS: Just upgraded, same behaviour in 4.1.