howto import shell environment into elektra:

export
gives you the whole list of exports you have now
they are in (zsh) in KEY=VALUE form

so do
export > file
vi file

now you have to search and replace:
:%s/^/"/g
:%s:^:set "user/zsh/env:
:%s/=/" "/g
:%s/$/"/g

should end up to lines like:
kdb set "user/env/CC" "gcc"

this can now simple be executed

Archiviert am 14.02.2026
patent_button.gif valid-html401.png elektra.jpg permaplant.png fsfe-logo.png valid-css.png vim.gif anybrowser.gif