mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Make friendly to set -u
This commit is contained in:
parent
9c755511f0
commit
5c1cf2feea
8 changed files with 18 additions and 18 deletions
|
|
@ -17,6 +17,6 @@ alias please='sudo'
|
|||
alias afind='ack-grep -il'
|
||||
|
||||
# only define LC_CTYPE if undefined
|
||||
if [[ -z "$LC_CTYPE" && -z "$LC_ALL" ]]; then
|
||||
if [[ -z "${LC_CTYPE:-}" && -z "${LC_ALL:-}" ]]; then
|
||||
export LC_CTYPE=${LANG%%:*} # pick the first entry from LANG
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue