We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c91dcc commit 86bdb43Copy full SHA for 86bdb43
scripts/online_status_icon.sh
@@ -25,6 +25,10 @@ is_cygwin() {
25
[[ $(uname) =~ CYGWIN ]]
26
}
27
28
+is_freebsd() {
29
+ [ $(uname) == FreeBSD ]
30
+}
31
+
32
online_icon_default() {
33
if is_osx; then
34
echo "$online_icon_osx"
@@ -44,7 +48,7 @@ offline_icon_default() {
44
48
45
49
46
50
online_status() {
47
- if is_osx; then
51
+ if is_osx || is_freebsd; then
52
local timeout_flag="-t"
53
else
54
local timeout_flag="-w"
0 commit comments