Skip to content

Commit e47441d

Browse files
ssiwek-dxcmarc0der
authored andcommitted
fix for bash-4 (#923)
bash-4 does not support process substitution
1 parent cf834c9 commit e47441d

File tree

1 file changed

+2
-1
lines changed
  • contrib/completion/bash

1 file changed

+2
-1
lines changed

contrib/completion/bash/sdk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ __sdkman_complete_command() {
3232
done
3333
;;
3434
install|list)
35+
curl --silent "${SDKMAN_CANDIDATES_API}/candidates/all" | \
3536
while IFS= read -d, -r candidate; do
3637
candidates+=($candidate)
37-
done < <(curl --silent "${SDKMAN_CANDIDATES_API}/candidates/all")
38+
done
3839
;;
3940
env)
4041
candidates=("init install clear")

0 commit comments

Comments
 (0)