diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2023-12-01 19:31:39 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2023-12-01 19:32:37 +0100 |
| commit | cd2ec9e1888999ab6ff93f1ed4b183874cd1767b (patch) | |
| tree | eebcf04026d97713a83a87d450533425c0c2f5ee /guides/setups/operating-systems/apps-demo/activate | |
| parent | 67b9f53e7dc194c204c9669384a937f4715b2727 (diff) | |
| download | memory-leaks-cd2ec9e1888999ab6ff93f1ed4b183874cd1767b.tar.xz | |
Add demo & research areas for "apps"
Diffstat (limited to 'guides/setups/operating-systems/apps-demo/activate')
| -rw-r--r-- | guides/setups/operating-systems/apps-demo/activate | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/guides/setups/operating-systems/apps-demo/activate b/guides/setups/operating-systems/apps-demo/activate new file mode 100644 index 0000000..434924a --- /dev/null +++ b/guides/setups/operating-systems/apps-demo/activate @@ -0,0 +1,12 @@ +# Hey Emacs; this is a -*- shell-script -*-. +# Hopefully invoked by bash 🤞 + +_apps_dir=$(dirname ${BASH_SOURCE}) + +_apps_PATH=$( + shopt -s nullglob + bins=( "${_apps_dir}"/*/bin ) + IFS=: eval 'echo "${bins[*]}"' +) + +export PATH=${_apps_PATH}:${PATH} |
