On Mon, May 23, 2022 at 04:29:49PM +0100, Dagfinn Ilmari Mannsåker wrote: > James McCoy wrote: > > On Tue, Feb 01, 2022 at 06:19:43PM +0100, Diederik de Haas wrote: > >> $ vim.tiny .ssh/authorized_keys > >> E1187: Failed to source defaults.vim > >> Press ENTER or type command to continue > > > > The binary vim.tiny is an implementation detail. I tried to move > > them under /usr/libexec, but that caused the alternatives to reset their > > priorities for existing installs, so it had to be reverted. > > > > The intended use is to invoke the binary through the named alternatives > > (vi, view, ex, editor). > > > > When invoked as vi it doesn't, because that triggers Debian's patch to > > only use the tiny config. > > Given that `vim.tiny` registers itself for the `view` and `editor` > alternatives, it really should not throw any errors or warnings when > invoked via them (I noticed this because `sudoedit` falls back to > `editor` if the `$EDITOR` and `$VISUAL` environment variables aren't > set).
Agreed. I intend to update the vim.tiny patch so that it would avoid this message. I just haven't gotten to it yet. Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB