Skip to main content
4 of 4
edited tags
Martin Tournoij
  • 63.3k
  • 26
  • 199
  • 274

Vim /usr/bin/bash: /s: No such file or directory

Repost from Stackoverflow; I read a comment which directed me here saying it would be more helpful.

Just set up nvim; unfortunately, the following error is plaguing the setup. Whenever I try to install or change plugins or use Vimtex, it will throw the same error message just about everywhere: /usr/bin/bash: /s: No such file or directory. Similar error occurs when I use :checkhealth; the exact error message is below:

## terminal
  - ERROR: command failed: infocmp -L
    /usr/bin/bash: /s: No such file or directory

Additionally, I am using Windows, and here is my config file (switched to a minimal config to see if things would change, but the issue still persists):

set backspace=2         " backspace in insert mode works like normal editor
syntax on               " syntax highlighting
filetype indent on      " activates indenting for files
set autoindent          " auto indenting
set number              " line numbers
colorscheme desert      " colorscheme desert
set nobackup            " get rid of anoying ~file
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab

Does anyone know what is causing the error and how to fix it? Would greatly appreciate it!

Revise
  • 231
  • 2
  • 7