From: Oleg Broytman Date: Wed, 26 May 2021 23:34:18 +0000 (+0300) Subject: .bashrc: Set `LANG=C` in non-interactive non-login-shells X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=25a2f5176e8801c59b7cf2bee1c7f8b186cfa8d5;p=dotfiles.git .bashrc: Set `LANG=C` in non-interactive non-login-shells Make `ssh host date` to display in 24-hour format. --- 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*) ;;