mirror of
https://github.com/notwa/rc
synced 2025-02-05 07:43:22 -08:00
make this a proper local variable
This commit is contained in:
parent
809167a5ce
commit
d87a81e147
1 changed files with 1 additions and 2 deletions
|
@ -202,8 +202,6 @@ function tw() { ### @-
|
||||||
twitch "$@" OMFG STFU &
|
twitch "$@" OMFG STFU &
|
||||||
}
|
}
|
||||||
|
|
||||||
local host="${(L)HOST}"
|
|
||||||
|
|
||||||
function {
|
function {
|
||||||
# initialize prompts.
|
# initialize prompts.
|
||||||
|
|
||||||
|
@ -232,6 +230,7 @@ function {
|
||||||
local good=42 # green
|
local good=42 # green
|
||||||
local bad=41 # red
|
local bad=41 # red
|
||||||
|
|
||||||
|
local host="${(L)HOST}"
|
||||||
[ "$host" = neobanshee ] && good=46 # cyan
|
[ "$host" = neobanshee ] && good=46 # cyan
|
||||||
[ "$host" = spectre ] && good=47 # white
|
[ "$host" = spectre ] && good=47 # white
|
||||||
[ "$host" = wraith ] && good=43 # yellow
|
[ "$host" = wraith ] && good=43 # yellow
|
||||||
|
|
Loading…
Add table
Reference in a new issue