Mercurial > hg > zsh-env
changeset 163:201c8ca43ab1
reset the environment for a proper 24 hour display of time
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 17 Jan 2020 15:29:03 +0100 |
parents | 0bd8976bd5fb |
children | 20ac5fedc060 |
files | zshrc |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/zshrc Thu Jan 09 13:03:20 2020 +0100 +++ b/zshrc Fri Jan 17 15:29:03 2020 +0100 @@ -28,6 +28,10 @@ # -u avoids compinit complaining when running as root (see man zshcompsys) compinit -u +# setup a valid locale for displaying 24 hour time +unset LC_ALL +export LC_TIME=POSIX + # custom functions/aliases that should work on all platforms cd() { builtin cd "$@"; print -D $PWD; } ff() { find $2 -print0 | xargs -0 grep $1 }