Fix Locale issue

Caused some users to have incorrect info because some text manipulation
tools were getting confused.
This commit is contained in:
Ethan Edwards 2020-10-16 18:38:29 -04:00
parent 8cf4901842
commit ca26328453
No known key found for this signature in database
GPG key ID: F1AD8EEE1366610B
8 changed files with 16 additions and 1 deletions

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
linux_acpi() { linux_acpi() {
arg=$1 arg=$1

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
# function for getting the refresh rate # function for getting the refresh rate
get_tmux_option() { get_tmux_option() {

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
get_tmux_option() { get_tmux_option() {
local option=$1 local option=$1

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
# function for getting the refresh rate # function for getting the refresh rate
get_tmux_option() { get_tmux_option() {

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
HOSTS="google.com github.com example.com" HOSTS="google.com github.com example.com"

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
# function for getting the refresh rate # function for getting the refresh rate
get_tmux_option() { get_tmux_option() {

View file

@ -1,4 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
#wrapper script for running weather on interval #wrapper script for running weather on interval

View file

@ -1,5 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# setting the locale, some users have issues with different locales, this forces the correct one
export LC_ALL=en_US.UTF-8
fahrenheit=$1 fahrenheit=$1