fix(scripts): 修复 curl | bash 下 decman 交互提示无法读取输入的问题
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ echo "==> 安装 decman..."
|
|||||||
yay -S --needed --noconfirm decman
|
yay -S --needed --noconfirm decman
|
||||||
|
|
||||||
echo "==> 应用系统配置..."
|
echo "==> 应用系统配置..."
|
||||||
sudo decman --source "$CONFIG_DIR/source.py"
|
sudo decman --source "$CONFIG_DIR/source.py" < /dev/tty
|
||||||
|
|
||||||
echo "==> 设置默认 shell 为 zsh..."
|
echo "==> 设置默认 shell 为 zsh..."
|
||||||
if [ "$SHELL" != "$(which zsh)" ]; then
|
if [ "$SHELL" != "$(which zsh)" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user