summaryrefslogtreecommitdiff
path: root/silly.sh
diff options
context:
space:
mode:
Diffstat (limited to 'silly.sh')
-rw-r--r--silly.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/silly.sh b/silly.sh
index 9cdcdfa..5c990eb 100644
--- a/silly.sh
+++ b/silly.sh
@@ -75,7 +75,7 @@ sync() {
echo "$name"
done
echo
- read -rp "> " input
+ read -rp "> " input </dev/tty
tmp=$(mktemp -d)
git clone --depth=1 "$REPO_URL" "$tmp/dotfiles" &>/dev/null
@@ -117,7 +117,7 @@ sync() {
echo "install"
echo "sync"
echo
-read -rp "> " choice
+read -rp "> " choice </dev/tty
case "$choice" in
install) install ;;