0

How may I change my doas prompt? For example, to change sudo prompt you just run

export SUDO_PROMPT="Prompt: "

Is there an equivalent for doas?

2
  • Have you tried looking at the setenv option in /etc/doas.conf? Commented Nov 12, 2020 at 21:51
  • I didn't saw it anywhere, what should I change there? You can write as a answer too. Commented Nov 13, 2020 at 7:09

1 Answer 1

0

The OpenBSD doas(1) utility does not allow you to change its prompt in the same way that sudo does. This is by design, to keep it as simple as possible (which is why it was written in the first place).

1
  • Oh, thank you! But I don’t really care about customizing UNIX so it’s no longer problem to me. But still, thank you! Commented Jan 18, 2021 at 13:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .