mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
Small derp
This commit is contained in:
parent
959d62048f
commit
6e33197827
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export PAGER="less"
|
|||
export LESS="-R"
|
||||
|
||||
## how to interpret text characters
|
||||
if [[ -z "$LC_CTYPE" -a -z "$LC_ALL" ]]; then # only define if undefined
|
||||
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then # only define if undefined
|
||||
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
|
||||
[[ -z "$LC_CTYPE" ]] && \
|
||||
export LC_CTYPE=`locale -a | grep en_US.utf8 | head -1`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue