1
0
Fork 0
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:
Connor Olding 2021-09-27 19:20:06 -07:00
parent 809167a5ce
commit d87a81e147

View file

@ -202,8 +202,6 @@ function tw() { ### @-
twitch "$@" OMFG STFU &
}
local host="${(L)HOST}"
function {
# initialize prompts.
@ -232,6 +230,7 @@ function {
local good=42 # green
local bad=41 # red
local host="${(L)HOST}"
[ "$host" = neobanshee ] && good=46 # cyan
[ "$host" = spectre ] && good=47 # white
[ "$host" = wraith ] && good=43 # yellow