zsh: nix vs locales
This commit is contained in:
parent
7ef81bb2ea
commit
7428ba0dd0
1 changed files with 1 additions and 4 deletions
5
.zshrc
5
.zshrc
|
@ -64,10 +64,6 @@ setopt null_glob
|
||||||
# ZSH_AUTOSUGGEST_USE_ASYNC=1
|
# ZSH_AUTOSUGGEST_USE_ASYNC=1
|
||||||
# ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
# 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
|
export PATH=$HOME/bin:$HOME/.cargo/bin:$PATH
|
||||||
|
|
||||||
redraw-prompt() {
|
redraw-prompt() {
|
||||||
|
@ -200,6 +196,7 @@ autoload -U +X compinit && compinit
|
||||||
|
|
||||||
## Nix
|
## Nix
|
||||||
export PATH=$HOME/.nix-profile/bin:$PATH
|
export PATH=$HOME/.nix-profile/bin:$PATH
|
||||||
|
export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
|
||||||
|
|
||||||
## eksctl
|
## eksctl
|
||||||
if [ ! -f "${fpath[1]}/_eksctl" ]; then
|
if [ ! -f "${fpath[1]}/_eksctl" ]; then
|
||||||
|
|
Loading…
Reference in a new issue