]> git.phdru.name Git - dotfiles.git/commitdiff
.bashrc: Set `LANG=C` in non-interactive non-login-shells
authorOleg Broytman <phd@phdru.name>
Wed, 26 May 2021 23:34:18 +0000 (02:34 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 26 May 2021 23:36:34 +0000 (02:36 +0300)
Make `ssh host date` to display in 24-hour format.

.bashrc

diff --git a/.bashrc b/.bashrc
index 97a08b9a96a268f104ae56d6b02951151e167d0a..7faeed5e6f76cc10c7d8aea5b17d79bff1a54103 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -11,6 +11,9 @@ umask 077
 
 PATH="$HOME"/bin:"$HOME"/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
 
+# Make `ssh host date` to display in 24-hour format
+LANG=C
+
 # If not running interactively, don't do anything
 case $- in
     *i*) ;;