None
FR
Make Bash, Not War
[]
OSU Open Source Lab
When splitting the terminal ertically, the prompt can get so long that it’s hard to see the command that I’m entering (Figure 2). So in order to save space, I’d like to shorten my prompt to only a directory listing and a colored character replacing the normal $ or >. (Figure 3, 4) Using a case statement and filtering out the name of the workstation from the domain name, I can color code my prompt based on hostname.