@@ -15,7 +15,7 @@ echo "Select AI platform(s) to install:"
1515echo " 1) Claude Code only"
1616echo " 2) Codex (OpenAI) only"
1717echo " 3) Both Claude Code and Codex"
18- read -p " Enter choice [1-3]: " platform_choice
18+ read -p " Enter choice [1-3]: " platform_choice < /dev/tty
1919
2020case $platform_choice in
2121 1)
4848 echo " Please choose installation type:"
4949 echo " 1) Install to current directory (manual project)"
5050 echo " 2) Install globally"
51- read -p " Enter choice [1-2]: " choice
51+ read -p " Enter choice [1-2]: " choice < /dev/tty
5252
5353 case $choice in
5454 1)
@@ -134,7 +134,7 @@ TOTAL_FILES=0
134134# Install Claude Code commands
135135if [ " $INSTALL_CLAUDE " = true ]; then
136136 if [ -d " .claude/commands" ]; then
137- read -p " ⚠️ .claude/commands already exists. Overwrite? [y/N]: " confirm
137+ read -p " ⚠️ .claude/commands already exists. Overwrite? [y/N]: " confirm < /dev/tty
138138 if [ " $confirm " != " y" ] && [ " $confirm " != " Y" ]; then
139139 echo " Skipping Claude Code installation."
140140 else
158158# Install Codex commands
159159if [ " $INSTALL_CODEX " = true ]; then
160160 if [ -d " .codex/commands" ]; then
161- read -p " ⚠️ .codex/commands already exists. Overwrite? [y/N]: " confirm
161+ read -p " ⚠️ .codex/commands already exists. Overwrite? [y/N]: " confirm < /dev/tty
162162 if [ " $confirm " != " y" ] && [ " $confirm " != " Y" ]; then
163163 echo " Skipping Codex installation."
164164 else
0 commit comments