You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have carefully read all of the instructions in this issue template.
I'm sorry in this case I'm not able to follow the template with the zsh-autocomplete plugin enabled. This is because the error message just scrolls up the screen endlessly. It's therefore impossible to type and observe the output of any command.
Description
I after upgrading the plugin to commit, when I start my terminal all I get is the following scrolling up the screen endlessly:
autocomplete/log/2023-04-06.log
~ 11:52:58
❯
.autocomplete.async.complete.fd-widget:3: not a directory: /Users/nqa/.local/state/zsh-autocomplete/log/2023-04-06.log
~ 11:52:58
❯
.autocomplete.async.complete.fd-widget:3: not a directory: /Users/nqa/.local/state/zsh-autocomplete/log/2023-04-06.log
~ 11:52:58
❯
.autocomplete.async.complete.fd-widget:3: not a directory: /Users/nqa/.local/state/zsh-autocomplete/log/2023-04-06.log
So looking in ~/.local/state, I see the following:
~/.local/state 11:36:52
❯ ll
total 0
drwxr-xr-x 3 user staff 96 Mar 10 09:16 gem/
drwx------ 11 user staff 352 Apr 5 08:50 nvim/
drwxr-xr-x 3 user staff 96 Apr 5 07:43 pnpm/
lrwxr-xr-x 1 user staff 52 Aug 18 2022 powerlevel10k -> /Users/user/Git/powerlevel10k/powerlevel10k.zsh-theme
lrwxr-xr-x 1 user staff 59 Apr 6 11:35 zsh-autocomplete -> /Users/user/Git/zsh-autocomplete/zsh-autocomplete.plugin.zsh
lrwxr-xr-x 1 user staff 65 Aug 18 2022 zsh-autosuggestions -> /Users/user/Git/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh
lrwxr-xr-x 1 user staff 57 Aug 18 2022 zsh-completions -> /Users/user/Git/zsh-completions/zsh-completions.plugin.zsh
lrwxr-xr-x 1 user staff 73 Aug 18 2022 zsh-syntax-highlighting -> /Users/user/Git/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh
I use your other plugin zsh-snap to manage my zsh plugins and as you can see, it creates symlinks to all the plugins it installs in $XDG_STATE_HOME.
I think what is happening is, because a symlink for zsh-autocomplete has already been created in $XDG_STATE_HOME by zsh-snap, the zsh-autocomplete folder and it's subfolder log can't be created as hence the log files can't be written.
The text was updated successfully, but these errors were encountered:
I'm also running into the same issue and use zsh-snap as well and concur with @ThePreacher that ~/.local/state/zsh-autocomplete is already symlinked to: ~/.zsnap/zsh-autocomplete/zsh-autocomplete.plugin.zsh
When I attempt to install using znap, I get a similar loop:
Kyla-s-S21#
.autocomplete.async.complete.fd-widget:3: not a directory: /tmp/tmp.CStO4sectj/.local/state/zsh-autocomplete/log/2023-04-22.log
Kyla-s-S21#
.autocomplete.async.complete.fd-widget:3: not a directory: /tmp/tmp.CStO4sectj/.local/state/zsh-autocomplete/log/2023-04-22.log
Kyla-s-S21#
.autocomplete.async.complete.fd-widget:3: not a directory: /tmp/tmp.CStO4sectj/.local/state/zsh-autocomplete/log/2023-04-22.log
Kyla-s-S21#
.autocomplete.async.complete.fd-widget:3: not a directory: /tmp/tmp.CStO4sectj/.local/state/zsh-autocomplete/log/2023-04-22.log
Manually installing (not using znap) doesn't seem to cause the loop on installation. I haven't yet tested how it behaves after that (such as on startup).
I'm sorry in this case I'm not able to follow the template with the
zsh-autocomplete
plugin enabled. This is because the error message just scrolls up the screen endlessly. It's therefore impossible to type and observe the output of any command.Description
I after upgrading the plugin to commit, when I start my terminal all I get is the following scrolling up the screen endlessly:
So looking in
~/.local/state
, I see the following:I use your other plugin
zsh-snap
to manage my zsh plugins and as you can see, it creates symlinks to all the plugins it installs in$XDG_STATE_HOME
.I think what is happening is, because a symlink for
zsh-autocomplete
has already been created in$XDG_STATE_HOME
byzsh-snap
, thezsh-autocomplete
folder and it's subfolderlog
can't be created as hence the log files can't be written.The text was updated successfully, but these errors were encountered: