confirm() returned yes whenever stdin was not a tty, so `dotup < /dev/null` in a terminal drew the picker on /dev/tty and then installed without asking. It now opens /dev/tty the way cmd_pick does and reads the answer there; it auto-approves only when no terminal exists at all. pty test plus a mutation (ISSUE-9).