SUMMARY When we run kdesrc-build --initial-setup then PATH and alias entries are made in ~/.bashrc file even if another shell is in use (Eg: zsh). This issue can be resolved by detecting shell at runtime, then using appropriate file. Example: for /usr/bin/bash :- use .bashrc, /usr/bin/zsh :- use .zshrc STEPS TO REPRODUCE 1. $echo $SHELL; gives output /usr/bin/zsh 2. Run kdesrc-build --initial-setup 3. Complete package install wizard - In the end message is displayed - "Amending your ~/.bashrc to also point to install dir" "Amending your ~/.bashrc to add kdesrc-run alias..." "Your ~/.bashrc has been successfully setup" OBSERVED RESULT ~/.bashrc file is modifies EXPECTED RESULT ~/.zshrc file should have been modified. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (available in About System) KDE Plasma Version: 5.17.5 ADDITIONAL INFORMATION If possible, I'd like to have a look at this issue please :) I have a POC. Please let me know how I can get it reviewed. P.S: This is my first bug report. Apologies if I missed something (Do let me know so I can take care next time). Thank you
The fix has been merged into master branch of kdesrc-build. See commit: https://phabricator.kde.org/R365:011e21c7abcdb277a7cb1b65315116f7ed46d242