https://bugs.kde.org/show_bug.cgi?id=416625
Bug ID: 416625 Summary: kdesrc-build adds entries in ~/.bashrc when zsh is in use Product: kdesrc-build Version: Git Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: setup wizard Assignee: mp...@kde.org Reporter: pseudor...@protonmail.ch Target Milestone: --- 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 -- You are receiving this mail because: You are watching all bug changes.