From cdad9a9ebcf057f59e6c6cbd525dfb1022fa311c Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Fri, 2 Oct 2020 21:52:18 +0100 Subject: [PATCH] fix LANG-related format errors - fixes #59 --- scripts/helpers.sh | 3 +++ scripts/ram_percentage.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/helpers.sh b/scripts/helpers.sh index 744ae0e..a38b27a 100644 --- a/scripts/helpers.sh +++ b/scripts/helpers.sh @@ -1,3 +1,6 @@ +export LANG=C +export LC_ALL=C + get_tmux_option() { local option="$1" local default_value="$2" diff --git a/scripts/ram_percentage.sh b/scripts/ram_percentage.sh index 99ae6be..df31c2c 100755 --- a/scripts/ram_percentage.sh +++ b/scripts/ram_percentage.sh @@ -1,8 +1,6 @@ #!/usr/bin/env bash CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -export LANG=C -export LC_ALL=C source "$CURRENT_DIR/helpers.sh"