dont try to find vimrc

Bel LaPointe 2021-12-31 22:45:29 -05:00
parent 3c9b34202b
commit b82f11c248
1 changed files with 0 additions and 4 deletions

View File

@ -73,10 +73,6 @@ func edit(dry bool, filepath string) error {
return err return err
} }
args := []string{editorbin, tempFile} args := []string{editorbin, tempFile}
vimrc := path.Join(os.Getenv("HOME"), ".vimrc")
if _, err := os.Stat(vimrc); err == nil {
args = append(args, "-u", vimrc)
}
cpid, err := syscall.ForkExec( cpid, err := syscall.ForkExec(
editorbin, editorbin,
args, args,