Merge pull request #195 from dritter/minor_improvements

Minor improvements to README `dir` section
pull/22/head
Ben Hilburn 9 years ago
commit bc1af0d733

@ -209,9 +209,9 @@ others whole directories.
| `Compatible` | `Powerline` | `Awesome Powerline` | Situation | `Compatible` | `Powerline` | `Awesome Powerline` | Situation
|------------|-----------|-------------------|---------------------------- |------------|-----------|-------------------|----------------------------
| None | None | ![home icon](https://cloud.githubusercontent.com/assets/1544760/12183451/40ec4016-b58f-11e5-9b9e-74e2b2f0b8b3.png) | Within Home folder | | None | None | ![](https://cloud.githubusercontent.com/assets/1544760/12183451/40ec4016-b58f-11e5-9b9e-74e2b2f0b8b3.png) | At the root of your home folder |
| None | None | ![home sub_icon](https://cloud.githubusercontent.com/assets/1544760/12369315/8a5d762c-bbf5-11e5-8a20-ca1179f48d6c.png) | Within Home sub folder | | None | None | ![](https://cloud.githubusercontent.com/assets/1544760/12369315/8a5d762c-bbf5-11e5-8a20-ca1179f48d6c.png) | Within a subfolder of your home directory |
| None | None | ![folder icon](https://cloud.githubusercontent.com/assets/1544760/12183452/40f79286-b58f-11e5-9b8c-ed1343a07b08.png) | Outside of home folder | | None | None | ![](https://cloud.githubusercontent.com/assets/1544760/12183452/40f79286-b58f-11e5-9b8c-ed1343a07b08.png) | Outside of your home folder |
To turn off these icons you could set these variables to an empty string. To turn off these icons you could set these variables to an empty string.

@ -459,7 +459,7 @@ prompt_icons_test() {
# the next color has enough contrast to read. # the next color has enough contrast to read.
local random_color=$((RANDOM % 8)) local random_color=$((RANDOM % 8))
local next_color=$((random_color+1)) local next_color=$((random_color+1))
"$1_prompt_segment" "$0" "$2" "$random_color" "$next_color" "$key: ${icons[$key]}" "$1_prompt_segment" "$0" "$2" "$random_color" "$next_color" "$key" "$key"
done done
} }

Loading…
Cancel
Save