mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +00:00
Silence string match
This commit is contained in:
parent
8d30d07105
commit
dd873f21a6
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ function fish_prompt
|
||||||
set_color green
|
set_color green
|
||||||
else if test "$CURRENT_IP" "=" "(:0)"
|
else if test "$CURRENT_IP" "=" "(:0)"
|
||||||
set_color brgreen
|
set_color brgreen
|
||||||
else if string match --regex '\(.+\)' "$CURRENT_IP"
|
else if string match --regex --quiet '\(.+\)' "$CURRENT_IP" > /dev/null
|
||||||
set_color cyan
|
set_color cyan
|
||||||
else
|
else
|
||||||
set_color green
|
set_color green
|
||||||
|
|
Loading…
Reference in a new issue