Skip to content
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

Error installing plugs in Git Bash #650

Closed
mcandre opened this issue Jun 29, 2017 · 3 comments
Closed

Error installing plugs in Git Bash #650

mcandre opened this issue Jun 29, 2017 · 3 comments
Labels

Comments

@mcandre
Copy link

mcandre commented Jun 29, 2017

All mah :PlugInstall's fail in Command Prompt, with errors about missing find, and cd having too many arguments. Could the :PlugInstall implementation be refactored to not rely so much on GNU coreutils, but use Vim capabilities instead? That would help improve cross-compatibility with Windows environments.

.vimrc: https://github.com/mcandre/dotfiles/blob/224cc2109d95d3fd53e95d83a8b664623f9caf93/.vimrc

System:

vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 23 2017 19:48:19)
MS-Windows 32-bit console version
Included patches: 1-586
Compiled by mool@tororo
Huge version without GUI.  Features included (+) or not (-):
+acl             +ex_extra        -mouseshape      +tag_old_static
+arabic          +extra_search    +multi_byte      -tag_any_white
+autocmd         +farsi           +multi_lang      -tcl
-balloon_eval    +file_in_path    -mzscheme        +termguicolors
-browse          +find_in_path    -netbeans_intg   -tgetent
++builtin_terms  +float           +num64           -termresponse
+byte_offset     +folding         +packages        +textobjects
+channel         -footer          +path_extra      +timers
+cindent         +gettext/dyn     -perl            +title
+clientserver    -hangul_input    +persistent_undo -toolbar
+clipboard       +iconv/dyn       -postscript      +user_commands
+cmdline_compl   +insert_expand   +printer         +vertsplit
+cmdline_hist    +job             +profile         +virtualedit
+cmdline_info    +jumplist        -python          +visual
+comments        +keymap          -python3         +visualextra
+conceal         +lambda          +quickfix        +viminfo
+cryptv          +langmap         +reltime         +vreplace
+cscope          +libcall         +rightleft       +wildignore
+cursorbind      +linebreak       -ruby            +wildmenu
+cursorshape     +lispindent      +scrollbind      +windows
+dialog_con      +listcmds        +signs           +writebackup
+diff            +localmap        +smartindent     -xfontset
+digraphs        -lua             +startuptime     -xim
-dnd             +menu            +statusline      -xpm_w32
-ebcdic          +mksession       -sun_workshop    -xterm_save
+emacs_tags      +modify_fname    +syntax
+eval            +mouse           +tag_binary
   system vimrc file: "$VIM\vimrc"
     user vimrc file: "$HOME\_vimrc"
 2nd user vimrc file: "$HOME\vimfiles\vimrc"
 3rd user vimrc file: "$VIM\_vimrc"
      user exrc file: "$HOME\_exrc"
  2nd user exrc file: "$VIM\_exrc"
       defaults file: "$VIMRUNTIME\defaults.vim"
Compilation: cl -c /W3 /nologo  -I. -Iproto -DHAVE_PATHDEF -DWIN32  -DFEAT_CSCOPE  -DFEAT_JOB_CHANNEL      -DWINVER=0x0501 -D_WIN32_WINNT=0x0501  /Fo.\ObjCi386/ /Ox /GL -DNDEBUG  /Zl /MT -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_HUGE /Fd.\ObjCi386/ /Zi
Linking: link /RELEASE /nologo /subsystem:console /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib  comdlg32.lib ole32.lib uuid.lib /machine:i386  /nodefaultlib libcmt.lib  user32.lib          WSock32.lib  /PDB:vim.pdb -debug
@junegunn
Copy link
Owner

with errors about missing find, and cd having too many arguments.

vim-plug does not internally use find command, so I'm not really sure how you got the error. What were the exact error messages?

@janlazo
Copy link
Contributor

janlazo commented Nov 26, 2017

Why use set shell=bash\ -i unconditionally, even in Windows?
Is this for cygwin Vim only?

@janlazo
Copy link
Contributor

janlazo commented Aug 16, 2019

#860 is merged which should resolve this issue (assuming that git bash is installed correctly and %PATH% is updated correctly). Use scoop to install git and busybox (for bash and Unix utils) if the situation persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants