XDG config file doesn't seem to be read on macOS #3884
-
Thank you for this fantastic software. I've recently been updating my dotfiles, and am having issues importing my lazygit config. Specifically it looks like this when I call lazygit on my current repo using alacritty: macOS specsOS: macOS 14.4.1 23E224 x86_64
Host: MacBookPro16,1
Kernel: 23.4.0
Uptime: 2 days, 22 hours, 10 mins
Packages: 274 (brew)
Shell: zsh 5.9
Resolution: 1792x1120@2x
DE: Aqua
WM: yabai
Terminal: alacritty
CPU: Intel i9-9980HK (16) @ 2.40GHz
GPU: Intel UHD Graphics 630, AMD Radeon Pro 5500M
Memory: 20862MiB / 65536MiB lazygit version details➜ lazygit --version
commit=, build date=, build source=homebrew, version=0.43.1, os=darwin, arch=amd64, git version=2.46.0 Now I've read these instructions also set my Setting XDG_CONFIG_HOME here➜ echo $XDG_CONFIG_HOME
/Users/shamindras/.config And importantly, I have linked my preferred lazygit Snippet of symlink of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
You mention setting For example here is my .zshenv
Note My particular setup also assumes /etc/zshenv
|
Beta Was this translation helpful? Give feedback.
-
After returning to this issue for several months, I recently found a fix. Just need to ensure that the zsh is set up to handle unicode characters in the terminal. To do that just include the following in your # Encodings, languges and misc settings
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export LC_CTYPE=UTF-8
export TERM=xterm-256color Then the above config with Very happy to have this resolved. For transparency I did use claude.ai to assist with the debugging and it suggested this fix. Hope this helps others resolve this issue! |
Beta Was this translation helpful? Give feedback.
After returning to this issue for several months, I recently found a fix. Just need to ensure that the zsh is set up to handle unicode characters in the terminal. To do that just include the following in your
zshrc
:Then the above config with
nerdFontsVersion: "3"
(and additional settings) should work.Very happy to have this resolved. For transparency I did use claude.ai to assist with the debugging and it suggested this fix.
Hope this helps others resolve this issue!