Open pwyde opened 5 days ago
@pwyde - I put the config you shared in a demo repo to see if I could reproduce your issue, but cannot. The only thing I can think of is you have something in $ZDOTDIR/.conf.d that you haven't shared (since you use the mattmc3/zephyr path:plugins/confd
plugin). Is there any part of your config you haven't shared?
$ZDOTDIR/.conf.d
is empty. The only thing I forgot to mention is that I have the following in /etc/zsh/zshenv
:
export ZDOTDIR="${HOME}/.config/zsh"
This is so I can actually have all my Zsh configuration files in ~/.config/zsh
directory. Otherwise my Ubuntu 24.04 system assumes .zshrc
and .zshenv
should exist directly in my $HOME
directory.
Here is a more or less empty $HOME
with the Zsh configuration files specified in the original post:
ubuntu-server% tree -a -I '.vscodium-server' $HOME
/home/patrik
βββ .cache
βΒ Β βββ Microsoft
βΒ Β βββ DeveloperTools
βΒ Β βββ deviceid
βββ .config
βΒ Β βββ zsh
βΒ Β Β Β βββ conf.d
βΒ Β Β Β βββ .zshenv
βΒ Β Β Β βββ zsh_plugins
βΒ Β Β Β βββ .zshrc
βββ .local
βΒ Β βββ bin
βΒ Β βββ share
βΒ Β βββ state
βββ .ssh
βββ authorized_keys
And now I start a new Zsh shell and check what has been created:
ubuntu-server% zsh
Cloning into '/home/patrik/.local/share/antidote'...
remote: Enumerating objects: 207, done.
remote: Counting objects: 100% (207/207), done.
remote: Compressing objects: 100% (171/171), done.
remote: Total 207 (delta 14), reused 123 (delta 4), pack-reused 0 (from 0)
Receiving objects: 100% (207/207), 71.40 KiB | 1.52 MiB/s, done.
Resolving deltas: 100% (14/14), done.
# antidote cloning mattmc3/ez-compinit...
# antidote cloning ohmyzsh/ohmyzsh...
# antidote cloning mattmc3/zephyr...
# antidote cloning zsh-users/zsh-history-substring-search...
# antidote cloning zdharma-continuum/fast-syntax-highlighting...
# antidote cloning Aloxaf/fzf-tab...
# antidote cloning unixorn/fzf-zsh-plugin...
# antidote cloning zsh-users/zsh-completions...
# antidote cloning zsh-users/zsh-autosuggestions...
Cloning into '/home/patrik/.local/share/fzf'...
remote: Enumerating objects: 131, done.
remote: Counting objects: 100% (131/131), done.
remote: Compressing objects: 100% (122/122), done.
remote: Total 131 (delta 5), reused 38 (delta 3), pack-reused 0 (from 0)
Receiving objects: 100% (131/131), 315.83 KiB | 1.90 MiB/s, done.
Resolving deltas: 100% (5/5), done.
Downloading bin/fzf ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1523k 100 1523k 0 0 1441k 0 0:00:01 0:00:01 --:--:-- 1441k
- Checking fzf executable ... 0.56.3
Can't find a fzf configuration file at /home/patrik/.local/share/fzf/fzf.zsh, creating a default one
ubuntu-server% tree -a .config/zsh
.config/zsh
βββ conf.d
βββ .zcompdump
βββ .zshenv
βββ zsh_plugins
βββ .zshrc
2 directories, 4 files
ubuntu-server% tree -a .cache/zsh
.cache/zsh
βββ zcompdump
βββ zcompdump.zwc
1 directory, 2 files
ubuntu-server% rm .config/zsh/.zcompdump
ubuntu-server% zsh
ubuntu-server% tree -a .config/zsh
.config/zsh
βββ conf.d
βββ .zcompdump
βββ .zshenv
βββ zsh_plugins
βββ .zshrc
2 directories, 4 files
As you can see, the ~/.config/zsh/.zcompdump
is constantly re-created. Could this behaviour be a Ubuntu specific thing?
Hi!
I am in the process of switching my Zsh setup from
zinnit
toantidote
and want to useez-compinit
to manage my completions. I am not sure if this is aantidote
orez-compinit
issue. Please let me know if this issue belongs somewhere else.Here are my configuration files which is still a work in progress.
~/.config/zsh/.zshenv
~/.config/zsh/.zshrc
~/.config/zsh/zsh_plugins
The issue is that no matter what I do the
~/.config/zsh/.zcompdump
file is always created and beforeez-compinit
creates~/.cache/zsh/zcompdump
. Basically I end up with two zcompdump files in different locations and which one is Zsh actually using?Isn't
ez-compinit
supposed to manage my zcompdump file and set it to a static location? Any suggestions what I am doing wrong would be very appreciated. Or am I usingez-compinit
incorrectly?Many thanks and keep up the good work! :smile: