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 | e5bcdcafca69d911e22a133496ac2d1a524e12ac (patch) | |
tree | e34c178501c1f725fc3145afb168efbe89646c86 | |
parent | 3af7265e1eb6276f65c46a11e984c62d43b1842d (diff) | |
download | dotfiles-e5bcdcafca69d911e22a133496ac2d1a524e12ac.tar dotfiles-e5bcdcafca69d911e22a133496ac2d1a524e12ac.tar.zst dotfiles-e5bcdcafca69d911e22a133496ac2d1a524e12ac.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) |