[Bug 280889] bin/sh: `set -o vi` in .profile has no effect

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 17 Aug 2024 18:13:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280889

            Bug ID: 280889
           Summary: bin/sh: `set -o vi` in .profile has no effect
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

With `set -o vi` in .profile when I login I can see that the option should be
set:

$ set -o | grep -w vi
vi              on

but it is not functional - ESC-K does nothing. Explicitly setting it again on
the commandline works - ESC-K recalls the previous line for editing.

Main as of c7bc30c24f8625c6e9ef41be427fa26c6eb3d2bf

-- 
You are receiving this mail because:
You are the assignee for the bug.