From 7428ba0dd0c3bf032c41f0209a3f8b9d1c126a42 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Sun, 25 Jun 2023 13:35:36 +0200 Subject: [PATCH] zsh: nix vs locales --- .zshrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index a632bfb..24c6910 100644 --- a/.zshrc +++ b/.zshrc @@ -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