autocomplete not work after source, but works after login #2089
Labels
area/v2
relates to / is being considered for v2
kind/bug
describes or fixes a bug
status/triage
maintainers still need to look into this
My urfave/cli version is
v2.27.5
Checklist
Dependency Management
Describe the bug
autocomplete not works after source, only works after login.
To reproduce
setup autocomplete according to the document:
go/pkg/mod/github.com/urfave/cli/[email protected]/autocomplete/bash_autocomplete
to${HOME}/.bash_completion.d/xdc.sh
.bashrc
:Then run command
source .bashrc
, but autocomplete does not work at this time. It does not work either after I run the above commands in terminal directly. But autocomplete works after I logout and login.Expected behavior
autocomplete works after source, no need to relogin.
Run
go version
and paste its output hereOS: Ubuntu 22.04.5 LTS
Run
go env
and paste its output hereThe text was updated successfully, but these errors were encountered: