Home > Software design >  bash no abash: /src/github.com/tomnomnom/gf/gf-completion.bash: No such file or directory
bash no abash: /src/github.com/tomnomnom/gf/gf-completion.bash: No such file or directory

Time:01-07

When ever I do sudo su in ubuntu i get this weird error everytime there is not any problem in using anything but I just want to ask why is it coming even tho even do i have deleted this file already why is it automatically executing bash to this file

CodePudding user response:

The problem was an old code in his ~/.bashrc file which was found by grep -Fre gf-completion.bash /etc/ ~/.bashrc*:

/root/.bashrc:source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.bash
  •  Tags:  
  • Related