read from proper tty
This commit is contained in:
@@ -58,7 +58,7 @@ install() {
|
||||
echo "Installing Crib (Ruby $RUBY_VERSION)"
|
||||
|
||||
echo "Install locally (~/.local/bin) or globally (/usr/bin)? [l/g]"
|
||||
read -r choice
|
||||
read -r choice </dev/tty
|
||||
case "$choice" in
|
||||
l | L)
|
||||
INSTALL_DIR="$HOME/.local/bin"
|
||||
|
||||
Reference in New Issue
Block a user