Dr. Werner Fink changed bug 1219979
What Removed Added
Resolution --- WORKSFORME
Status NEW RESOLVED

Comment # 7 on bug 1219979 from Dr. Werner Fink
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


You are receiving this mail because: