https://bugs.kde.org/show_bug.cgi?id=438530
Bug ID: 438530 Summary: ./kdesrc-build --initial-setup adds invalid `complete` command to .zshrc Product: kdesrc-build Version: Git Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: setup wizard Assignee: mp...@kde.org Reporter: skierp...@gmail.com Target Milestone: --- SUMMARY Following https://community.kde.org/Get_Involved/development#Set_up_kdesrc-build , I let `./kdesrc-build --initial-setup` make changes to my .zshrc. But when I ran source ~/.zshrc, it failed with "command not found: complete". STEPS TO REPRODUCE 1. Be using zsh (I'm using Fedora 34's zsh 5.8) 2. Follow steps to set up in https://community.kde.org/Get_Involved/development 3. Enter ./kdesrc-build --initial-setup , enter 'y' when it prompts "* Update your /home/spage/.zshrc? (y/N)" 4. Enter source ~/.zshrc OBSERVED RESULT home/spage/.zshrc:125: command not found: complete zsh has a different completion system to bash. EXPECTED RESULT I don't know. I spent some time with https://stackoverflow.com/questions/3249432/can-a-bash-tab-completion-script-be-used-in-zsh , but adding `bashcompinit` or `autoload bashcompinit` before the function _comp-kdesrc-run didn't help 🙁. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 on Wayland -- You are receiving this mail because: You are watching all bug changes.