From 25a2f5176e8801c59b7cf2bee1c7f8b186cfa8d5 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Thu, 27 May 2021 02:34:18 +0300 Subject: [PATCH] .bashrc: Set `LANG=C` in non-interactive non-login-shells Make `ssh host date` to display in 24-hour format. --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 97a08b9..7faeed5 100644 --- 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*) ;; -- 2.39.2