You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Add a command that allows creating aliases to devbox scripts. This lets
users source aliases from any project they want. It's opt-in, works in
POSIX and fish. Aliases make it easy to call the scripts for other
projects or directories.
How it works:
```bash
eval "$(devbox gen alias)"
devbox-build
```
It builds the alias name using the project name in devbox.json.
Alternatively the user can specify a prefix
```bash
eval "$(devbox gen alias --prefix dx)"
dx-build
```
## How was it tested?
```bash
eval "$(devbox gen alias --prefix dx)"
dx-build
cd $HOME && dx-build
```
---------
Signed-off-by: Mike Landau <[email protected]>
Co-authored-by: Greg Curtis <[email protected]>
0 commit comments