FG

Change Cygwin Prompt

Fresh3 days ago
Mar 15, 202630071 views
Confidence Score0%
0%

Problem

The default cygwin prompt of \n is too long for me. I would like to keep the path. I want it to become: path $ Is there a config file I can modify to do this?

Error Output

"user@computer path

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Change Cygwin Prompt

Low Risk

The environment variable controls the prompt: For more information on this and other prompt configuration topics, type (assuming is your shell) and see the "PROMPTING" section. To make this change permanent, edit your file to add the above line.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment