---
source: src/shell/xonsh.rs
expression: "Xonsh::default().set_env(\"FOO\", \"1\")"
snapshot_kind: text
---
from os               import environ
from xonsh.built_ins  import XSH

envx = XSH.env
envx[   'FOO'] = '1'
environ['FOO'] = envx.get_detyped('FOO')
