zsh-snap icon indicating copy to clipboard operation
zsh-snap copied to clipboard

znap pull error

Open niksingh710 opened this issue 10 months ago • 1 comments

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 avatar Apr 04 '24 22:04 niksingh710

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

niksingh710 avatar Apr 28 '24 10:04 niksingh710