diff options
| author | xengineering <me@xengineering.eu> | 2024-04-21 10:00:35 +0200 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2024-04-21 10:00:35 +0200 |
| commit | 19eb9bca80d312e23e160d18a98054e6389d7549 (patch) | |
| tree | e34c178501c1f725fc3145afb168efbe89646c86 | |
| parent | b353d34dc96fbbbad299aeb3b2e6e36182054f67 (diff) | |
| download | dotfiles-19eb9bca80d312e23e160d18a98054e6389d7549.tar dotfiles-19eb9bca80d312e23e160d18a98054e6389d7549.tar.zst dotfiles-19eb9bca80d312e23e160d18a98054e6389d7549.zip | |
bash: Add 'zephyr' alias
This enables the Zephyr RTOS build system in the current terminal to be
able to build Zephyr free standing applications.
This alias assumes a setup based on the Zephyr Getting Started Guide
[1].
[1]: https://docs.zephyrproject.org/latest/develop/getting_started/index.html
| -rw-r--r-- | .bashrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -38,6 +38,7 @@ function my_xdg_open() { nohup xdg-open "$1" > /dev/null 2>&1 & } alias open=my_xdg_open alias note='"${EDITOR}" "$(mktemp)"' alias nolink='cd $(pwd -P)' +alias zephyr='export ZEPHYR_BASE="${HOME}/zephyrproject/zephyr" && source "${HOME}/zephyrproject/.venv/bin/activate"' # extend PATH by custom scripts (location based on XDG) |
