(In reply to Dr. Werner Fink from comment #7) > Just created on TW (should also work on Leap) a file > > localhost:~/Desktop # cat /etc/profile.d/testt.sh > function xyz () { > true > } > export -f xyz > export testt=testt > localhost:~/Desktop # > > then log out and log in again open a konsole and see > > localhost:~/Desktop # printenv | grep testt > testt=testt > localhost:~/Desktop # printenv | grep xyz > BASH_FUNC_xyz%%=() { true > > and it works > > localhost:~/Desktop # set -x; xyz ; set +x > + xyz > + true > + set +x > > it should be noted that I use the display-manager.service on that TW That does not work on a fresh install of leap 15.5 nor leap 15.6 Apr 11 18:57:40 localhost.localdomain startplasma-x11[1537]: org.kde.plasma.libkworkspace: Skipping syncing of environment variable "BASH_FUNC_stop_or_continue%%" as name contains unsupported characters Remark : None of my functions have a %% in their name. ------------------------------------------------------- Same kind error for environment variables : Apr 11 18:57:40 localhost.localdomain startplasma-x11[1537]: org.kde.plasma.libkworkspace: Skipping syncing of environment variable "MY_LIGHT_CYAN" as value contains unsupported characters MY_LIGHT_CYAN is defined like this MY_LIGHT_CYAN=$'\e[1;36m' or defined like this MY_LIGHT_CYAN=$'\e[1;36m'