Skip to content

Commit d362110

Browse files
ABeviermxcl
authored andcommitted
fix bash installation for bash 3.2
1 parent 37f85ad commit d362110

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* [`install.sh`](./install.sh) is delivered when you `curl tea.xyz`.
44
* This repository also provides the `tea` GitHub Action.
55

6-
# GitHub Action 0.15.1
6+
# GitHub Action 0.15.2
77

88
```yaml
99
- uses: teaxyz/setup@v0

install.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,7 @@ check_shell_magic() {
420420
bash)
421421
__TEA_SH_FILE="$HOME/.bashrc"
422422
__TEA_BTN_TXT="add one-liner to your \`~/.bashrc\`?"
423+
__TEA_ONE_LINER="test -d \"$TEA_DESTDIR_WRITABLE\" && source /dev/stdin <<<\"\$(\"$TEA_DESTDIR_WRITABLE/tea.xyz/v*/bin/tea\" --magic=$SHELL --silent)\""
423424
;;
424425
elvish)
425426
__TEA_SH_FILE="$HOME/.config/elvish/rc.elv"

0 commit comments

Comments
 (0)