-
Notifications
You must be signed in to change notification settings - Fork 38
Error
BlaCk_Void edited this page Jun 22, 2020
·
1 revision
- Terminal font set to Nerd Fonts.
- Terminal font set to Powerline Fonts, Set
BVZSH_ICON
topowerline
.
https://medium.com/@slmeng/how-to-install-powerline-fonts-in-windows-b2eedecace58
Move fonts to ~/.local/share/fonts
&& fc-cache -f -v
Sample
Traceback (most recent call last):
File "/Users/someone/.pyenv/versions/3.7.4/bin/powerline-config", line 20, in <module> pl = config.create_powerline_logger(args)
File "/Users/someone/.pyenv/versions/3.7.4/lib/python3.7/site-packages/powerline/bindings/config.py", line 226, in create_powerline_logger common_config = finish_common_config(get_preferred_output_encoding(), config['common'])
File "/Users/someone/.pyenv/versions/3.7.4/lib/python3.7/site-packages/powerline/lib/encoding.py", line 49, in get_preferred_output_encoding or locale.getdefaultlocale()[1]
File "/Users/someone/.pyenv/versions/3.7.4/lib/python3.7/locale.py", line 568, in getdefaultlocale return _parse_localename(localename)
File "/Users/someone/.pyenv/versions/3.7.4/lib/python3.7/locale.py", line 495, in _parse_localename raise ValueError('unknown locale: %s' % localename)ValueError: unknown locale: UTF-8
Set your locale to ~/.zshenv
.
Sample - en_US
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
Sample - ko_KR
export LC_ALL=ko_KR.UTF-8
export LANG=ko_KR.UTF-8
Reference: microsoft/WSL#4256 (comment)
Create a /etc/wsl.conf with
[automount]
enabled = false
[interop]
appendWindowsPath = false
You'll need to do a wsl.exe --shutdown after the change (or reboot).
Developer of the zplugin removing the repo and creating a new one with zinit.
remote: Repository not found.
fatal: repository 'https://github.com/zdharma/zplugin.git/' not found
remote: Repository not found.
fatal: repository 'https://github.com/zdharma/zplugin.git/' not found
Compiling Zinit (zcompile)...
Reloading Zinit for the current session...
cd $ZPLUGIN_DIR
git remote set-url origin https://github.com/zdharma/zinit.git