-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cd
error
#18
Comments
@dosentmatter can you provide more information? |
I am on macOS. I tried on an ubuntu docker image and seems to work fine. Here's what I tried in ubuntu docker container: $ docker pull ubuntu
$ docker run --rm -it ubuntu bash
# apt update
# apt install vim git curl
# curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# cat <<EOF > ~/.vimrc
call plug#begin('~/.vim/plugged')
Plug 'zivyangll/git-blame.vim'
nnoremap <Leader>s :<C-u>call gitblame#echo()<CR>
call plug#end()
EOF
# vim -c 'PlugInstall' -c 'qa'
# vim ~/.vim/plugged/git-blame.vim/autoload/gitblame.vim # <Leader>s works On macOS, it doesn't work for me: I went into vim debugger and it seems to be failing on this line.
I have vimproc installed so it is going into the first case. Note that I didn't have vimproc on ubuntu. The contents of the string is the following:
I saved the string to a global variable,
vimproc seems to be failing on the initial cd
|
I tried with vimproc on ubuntu and it fails with other errors such as
The reason it works on macOS is because I have $ type -a cd
cd is a shell builtin
cd is /usr/bin/cd On ubuntu docker, it is only a builtin. # type -a cd
cd is a shell builtin So with docker pull ubuntu
docker run --rm -it ubuntu bash
# apt update
# apt install vim git curl make gcc
# curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# cat <<EOF > ~/.vimrc
call plug#begin('~/.vim/plugged')
Plug 'zivyangll/git-blame.vim'
nnoremap <Leader>s :<C-u>call gitblame#echo()<CR>
Plug 'Shougo/vimproc.vim', {'do' : 'make'}
call plug#end()
EOF
# vim -c 'PlugInstall' -c 'qa'
# vim ~/.vim/plugged/git-blame.vim/autoload/gitblame.vim # <Leader>s works |
very very details. I'm on MacOS same with you. and it's works. I tried with ubuntu docker, it's also works. Can you debugger with your MacOS, try to fix it? so that you can make a Pull Request? |
Hmm do you also have vimproc installed? I can try to take a look this weekend if I have time. |
Same here.... using Linux and Vim 8,,,
|
Any update/progress on this? I also ran to this error on macOS. |
I also ran to this error on Win10 and Vim8. |
me too |
1 similar comment
me too |
me too, ubuntu -> spacevim |
beforeif a:0 == 0 after it's okif a:0 == 0 |
[Unhandled error: /usr/bin/cd: line 4: cd: $(dirname importNameRule.ts): No such file or directory]
vim info:
I am using vim-plugged
The text was updated successfully, but these errors were encountered: