Skip to content

gopass edit fails if 'vi' is not 'vim' #2412

@ehaupt

Description

@ehaupt

return []string{
"-i", "NONE", // disable viminfo
"-n", // disable swap
"-c",
fmt.Sprintf("autocmd BufNewFile,BufRead %s setlocal noswapfile nobackup noundofile %s", path, viminfo),
}

This fails on FreeBSD since FreeBSD's vi is not vim but nvi and lacks the option -i. There are other Linux distros or *BSD's where this is the case.

See also: FreeBSD issue #267689

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions