Added function wrapper.
This commit is contained in:
parent
1a42b195bb
commit
919f132cdb
|
@ -33,6 +33,7 @@
|
||||||
# uses changed in 2012, and older versions will display incorrectly,
|
# uses changed in 2012, and older versions will display incorrectly,
|
||||||
# in confusing ways.
|
# in confusing ways.
|
||||||
|
|
||||||
|
() {
|
||||||
if [[ "$TERM" =~ ".*256.*" ]]; then
|
if [[ "$TERM" =~ ".*256.*" ]]; then
|
||||||
# 0 - 15: System colors (color theme might define up to color 21)
|
# 0 - 15: System colors (color theme might define up to color 21)
|
||||||
# 16 - 231: 6x6x6 color cube, for R, G, B \in {0, ..., 5}:
|
# 16 - 231: 6x6x6 color cube, for R, G, B \in {0, ..., 5}:
|
||||||
|
@ -90,6 +91,7 @@ else
|
||||||
LHGOLD="003"
|
LHGOLD="003"
|
||||||
LHGREEN="002"
|
LHGREEN="002"
|
||||||
fi
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Generic function for formatting the working directory - in particular,
|
# Generic function for formatting the working directory - in particular,
|
||||||
# it allows zpresto-style shortening of the full path.
|
# it allows zpresto-style shortening of the full path.
|
||||||
|
|
Loading…
Reference in New Issue