SUMMARY STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: Geckolinux (available in About System) KDE Plasma Version: 5.18.6 KDE Frameworks Version: 5.71.0 Qt Version: 5.12.7 ADDITIONAL INFORMATION Sorry I'm using the translator I went to install kotlin and added the wrong path to the .bashrc file had put it like this export path=$PATH:/home/affonso/kotlinc/bin/ more or less that, as I remember. after opening the terminal and not a command worked in kconsole, only in the root terminal. I found it strange so I restarted the computer. when I restarted KDE it crashed at the login screen it wouldn't start. to fix it i logged in as root user and fix the kotlin path. for this export PATH="$PATH:/home/affonso/kotlinc/bin/" made the change and saved. then i logged in with my user and kde booted normally.
If it crashed at the login screen, then the login screen itself was broken by your change. The login screen is actually not a KDE project. Unfortunately this kind of user misconfiguration is capable of bricking the system. There isn't anything we can do about it without restricting your ability to make changes like that (which would cause a riot) or have the distro ship backup and recovery tools (which would depend on the distro).
I understand