zsh: nix vs locales

This commit is contained in:
Daniel Lundin 2023-06-25 13:35:36 +02:00
parent 7ef81bb2ea
commit 7428ba0dd0

5
.zshrc
View file

@ -64,10 +64,6 @@ setopt null_glob
# ZSH_AUTOSUGGEST_USE_ASYNC=1
# ZSH_AUTOSUGGEST_STRATEGY=(history completion)
# FIXME: Why does this work? Otherwise zshrc gets the wrong prompt length for unicode chars.
export LC_ALL=en_US.UTF-8
export LC_ALL=en_DK.UTF-8
export PATH=$HOME/bin:$HOME/.cargo/bin:$PATH
redraw-prompt() {
@ -200,6 +196,7 @@ autoload -U +X compinit && compinit
## Nix
export PATH=$HOME/.nix-profile/bin:$PATH
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
## eksctl
if [ ! -f "${fpath[1]}/_eksctl" ]; then