I'm trying out the SLIM display manager, and there's a problem with the
initialization of the shell.

I have set this in slim.conf:

login_cmd           exec /bin/zsh --login ~/.xinitrc %session

Now, this runs .zprofile but not .zshrc, so I have put all my custom
environment variables in ~/.zprofile. But there's lots of things in
/etc/zshrc that should go in /etc/zprofile! For example reading the
Environment files from packages. This means that my desktop runs without
these environment variables set, and gives lots of troubles...

The fix would be to move things to /etc/zprofile, like this:

[EMAIL PROTECTED] ~]cat /etc/zprofile
export MANPATH="${goboPrefix}/System/Links/Manuals:${MANPATH}"
export INFOPATH="${goboPrefix}/System/Links/Manuals/info:${INFOPATH}"
export
LD_LIBRARY_PATH="${goboPrefix}/System/Links/Libraries:${LD_LIBRARY_PATH}"
export
C_INCLUDE_PATH="${goboPrefix}/System/Links/Headers${C_INCLUDE_PATH:+:$C_INCLUDE_PATH}"
export
CPLUS_INCLUDE_PATH="${goboPrefix}/System/Links/Headers${CPLUS_INCLUDE_PATH:+:$CPLUS_INCLUDE_PATH}"
export TMPDIR="${goboPrefix}/System/Variable/tmp"


export PATH="${goboPrefix}/System/Links/Executables:${PATH}:."

# Source application environment settings.
local envcachefile="${goboPrefix}/System/Links/Environment/Cache"
[[ -e "$envcachefile" ]] || { cat
"${goboPrefix}/System/Links/Environment"/* > "$envcachefile" } 2> /dev/null
{ source "$envcachefile" } 2> /dev/null
unset envcachefile

-- 
/Jonatan         [ http://kymatica.com ]

_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to