marlonrichert / zsh-snap

⚡️ Znap! Fast, easy-to-use tools for Zsh dotfiles & plugins, plus git repos
MIT License
1.28k stars 38 forks source link

znap pull error #281

Open niksingh710 opened 3 months ago

niksingh710 commented 3 months ago

Everything is working perfectly fine. just when using znap pull

i am getting this error

󰘧 znap pull
zoxide: no match found
fatal: cannot change to 'znap': No such file or directory
fatal: cannot change to 'Aloxaf/fzf-tab': No such file or directory
fatal: cannot change to 'chrissicool/zsh-256color': No such file or directory
fatal: cannot change to 'kutsan/zsh-system-clipboard': No such file or directory
fatal: cannot change to 'MichaelAquilina/zsh-you-should-use': No such file or directory
fatal: cannot change to 'ohmyzsh/ohmyzsh': No such file or directory
fatal: cannot change to 'softmoth/zsh-vim-mode': No such file or directory
fatal: cannot change to 'z-shell/F-Sy-H': No such file or directory
fatal: cannot change to 'zsh-users/zsh-autosuggestions': No such file or directory
fatal: cannot change to 'zsh-users/zsh-completions': No such file or directory
lsd: Aloxaf/fzf-tab: No such file or directory (os error 2).

lsd: chrissicool/zsh-256color: No such file or directory (os error 2).

lsd: MichaelAquilina/zsh-you-should-use: No such file or directory (os error 2).

lsd: ohmyzsh/ohmyzsh: No such file or directory (os error 2).

lsd: kutsan/zsh-system-clipboard: No such file or directory (os error 2).

lsd: softmoth/zsh-vim-mode: No such file or directory (os error 2).

lsd: znap: No such file or directory (os error 2).

lsd: zsh-users/zsh-autosuggestions: No such file or directory (os error 2).

lsd: z-shell/F-Sy-H: No such file or directory (os error 2).

zoxide: zoxide: no match found
zoxide: no match found
zoxide: no match found
no match found
zoxide: no match found
lsd: zsh-users/zsh-completions: No such file or directory (os error 2).

zoxide: no match found
zoxide: no match found
zoxide: no match found
zoxide: no match found
zoxide: no match found
 no upstream
 no upstream
 no upstream
 no upstream
 no upstream
 no upstream
 no upstream
 no upstream
 no upstream
 no upstream

for reference here is my zshrc zshrc

niksingh710 commented 2 months ago

Till the pr's are in pending state, so in the meantime the solution I am using is

znap_update() {
  unset cd
  unset -f cd
  znap pull
  exec zsh
}

277,#278