Skip to content

Commit

Permalink
fix magic for bash
Browse files Browse the repository at this point in the history
  • Loading branch information
ABevier authored and mxcl committed Mar 19, 2023
1 parent b399e6d commit e6acb2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</p>


# tea/cli 0.25.1
# tea/cli 0.25.2

`tea` puts the whole open source ecosystem at your fingertips:

Expand All @@ -25,7 +25,7 @@ $ sh <(curl tea.xyz)
installing ~/.tea…

$ node
tea: installing ~/.tea/nodejs.org/v19.7.0
tea: installing ~/.tea/nodejs.org/v19.7.0 and 9 other pkgs…

Welcome to Node.js v19.7.0.
>
Expand Down
2 changes: 1 addition & 1 deletion src/app.magic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default function(self: Path, shell?: string) {
return undent`
cd() {
builtin cd "$@" || return
source <("${d}"/tea +tea.xyz/magic -Esk --chaste env)
source /dev/stdin <<<"$("${d}"/tea +tea.xyz/magic -Esk --chaste env)"
}
if [[ "$PATH" != *"$HOME/.local/bin"* ]]; then
Expand Down

0 comments on commit e6acb2b

Please sign in to comment.