I'm just searching for a way to change the default Cygwin host name. I need to change the
Admin@deluxe ~ part and replace it with something else.
Cygwin reads the host name from Windows. On Windows 7 (instructions will be similar for other versions of Windows) you can change this by doing the following:
To simply change the Bash prompt, however, you don't need to jump through those hoops. The Bash prompt is controlled by the
For example, to temporarily set your Bash prompt to
While to set it whenever you restart the Bash shell, use the following to add it to your