Open anki-code opened 1 year ago
The idea:
prev_env = $(env)
! export QWE=123
! export QWE=123 ; env > /tmp/post_env
prev_env
post_env
$QWE='123'
⬇️ Please click the 👍 reaction instead of leaving a +1 or 👍 comment
+1
The idea:
prev_env = $(env)
before running the sh-command! export QWE=123
.! export QWE=123 ; env > /tmp/post_env
.prev_env
andpost_env
update the environment in the current session i.e.$QWE='123'
For community
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 comment