I am very much annoyed by this error:

$ vi abc.sh
Error detected while processing /home/DELL/.virc:
line    1:
E518: Unknown option: incompatible
Press ENTER or type command to continue
/bin/bash: line 2: \: command not found

I don't know, how it is affecting my programs and how this error occurred in my laptop?

I tried reinstalling the package, too.

  • 1
    I’ve added an answer below based on a guess but providing the contents of your virc would be extremely helpful – D. Ben Knoble Oct 31 '18 at 18:41
  • 1
    Did you read the error message? What is on line 1 of your .virc? – Christian Brabandt Oct 31 '18 at 20:24
  • It is "set incompatible" on the first line of .virc – Hariom kushwaha Nov 2 '18 at 1:42

The option name is nocompatible. Replace incompatible with nocompatible to solve your problem.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.