fix(scripts): 修复 curl | bash 下 decman 交互提示无法读取输入的问题

This commit is contained in:
2026-03-26 14:00:05 +08:00
parent 0ee258f666
commit 019222529b
+1 -1
View File
@@ -35,7 +35,7 @@ echo "==> 安装 decman..."
yay -S --needed --noconfirm decman
echo "==> 应用系统配置..."
sudo decman --source "$CONFIG_DIR/source.py"
sudo decman --source "$CONFIG_DIR/source.py" < /dev/tty
echo "==> 设置默认 shell 为 zsh..."
if [ "$SHELL" != "$(which zsh)" ]; then