commit | 59910a47b1d091dc3895f4aef1ed6fdac8290d55 | [log] [tgz] |
---|---|---|
author | Rob Mohr <mohrr@google.com> | Tue Nov 09 10:05:21 2021 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 09 18:48:09 2021 +0000 |
tree | 77e95845f4f6051b0737eb807abb7f5e7aefa5d3 | |
parent | d36b9c0ced3f9037c0983b53ac0f9df6ea3845c1 [diff] |
pw_env_setup: Add deactivate shell function There's a "pw_deactivate" shell function but it's meant to be used by bootstrap and leaves a couple things around. Add a "deactivate" shell function that uses "pw_deactivate" and cleans up the things it leaves behind. Also, change some "unset" calls on functions to use "unset -f". https://github.com/google/pigweed/issues/3 Change-Id: Ic66fa0baecc074d3ba71a17546263f4120440bf6 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/68080 Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/