aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-12-04 13:56:18 -0300
committerEuAndreh <eu@euandre.org>2020-12-04 13:56:18 -0300
commit382bee5e4431304c0e9a95915550ef0aa82589a9 (patch)
tree97e065b7a4794470e6b4eeb2dec8d0a67520108b /bash
parentfake-symlinks.sh: Fix chmod +w of files (diff)
downloaddotfiles-382bee5e4431304c0e9a95915550ef0aa82589a9.tar.gz
dotfiles-382bee5e4431304c0e9a95915550ef0aa82589a9.tar.xz
ps1.sh: Fix environment language for git status output
Diffstat (limited to 'bash')
-rw-r--r--bash/ps1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/ps1.sh b/bash/ps1.sh
index ba43cdef..183eb312 100644
--- a/bash/ps1.sh
+++ b/bash/ps1.sh
@@ -17,7 +17,7 @@ path() {
repo-status() {
branch="$(git branch --show-current 2> /dev/null)"
if [ "$branch" != '' ]; then
- OUT="$(env LANG=en_US.UTF-8 git status)"
+ OUT="$(env LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 git status)"
if ! git diff --quiet &> /dev/null || ! git diff --staged --quiet &> /dev/null; then
redb "{$branch}" | tr -d '\n'
elif grep 'to publish your local commits' <(echo "$OUT") > /dev/null; then