- ## Working with arrays.
- # We will be relying heavily on Bash arrays to set the color of various things in our PS1. The color will be dependent on a few things, so this is why using arrays gives us greater control and is generally easier to manage.
- # As an introduction, it's recommended to read this first - http://mywiki.wooledge.org/BashGuide/Arrays
- # Furthermore, since arithmetic expressions are supported, you should also get yourself familiar with this - http://mywiki.wooledge.org/BashGuide/CompoundCommands#Arithmetic_Evaluation
arrays_info
Posted by Anonymous on Mon 26th Oct 2015 11:55
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.