Questions tagged [prompt]

prompt is a command-line or graphical interface which presents the user with a line editor or modal dialog and suspends execution until input is returned

2321 questions
31
votes
4 answers

Where exactly Git Bash for Windows' prompt is defined?

Both my office and home computers have Git Bash for Windows from the very same source (Git for Windows, that came with TortoiseGit), but Git Bash's prompt differs on both machines: on office computer I have /c/path (branch) all green (this is, how…
trejder
  • 17,148
  • 27
  • 124
  • 216
30
votes
2 answers

How to insert an environment variable inside the bash prompt

I can set an environment variable inside the bash prompt like this: export PS1="[\u@\H/$FOO \W]\$ " The prompt does not change when I change the environment variable: $FOO because the $FOO variable is not interpreted. I can work around it by doing…
Bernd
  • 1,201
  • 3
  • 12
  • 10
30
votes
3 answers

Suppress the passphrase prompt in GPG command

Edited Version I have a question about GPG, but I write all of the process, maybe it will help someone. I want to: Suppress the passphrase prompt in GPG command. I don't want to: use -c option (--symmetric). I have 2 systems Linux and Windows. I…
Malus Jan
  • 1,860
  • 2
  • 22
  • 26
29
votes
3 answers

JavaScript dialogs alert(), confirm() and prompt() in cross origin iframe does not work any longer

Apps script web app works in