[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bashbug's default editor

From: jazz_fan
Subject: bashbug's default editor
Date: Fri, 31 Jul 2020 10:14:58 +0200

Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong 
-funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection 
-Werror=return-type -flto=auto -g  -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g 
-Wuninitialized -Wextra -Wno-switch-enum -Wno-unused-variable 
-Wno-unused-parameter -Wno-parentheses -ftree-loop-linear -pipe -DBNC382214=0 
-DIMPORT_FUNCTIONS_DEF=0 -Wno-parentheses -Wno-format-security
uname output: Linux delli 5.7.9-1-default #1 SMP Thu Jul 16 09:40:08 UTC 2020 
(a010166) x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-suse-linux-gnu

Bash Version: 5.0
Patch Level: 17
Release Status: release

Description: bashbug doesn't use vi as default editor

    unset EDITOR

Usually I have set my $EDITOR to /usr/bin/vim. For testing purposes I
commented out that setting and forgot to uncomment it later. Because of
the recent bug report "command bashbug does not work and something
more…" I entered the command and was surprised to find myself in the
unfamiliar emacs editor (which it took me a while to leave). However,
according to the man page:

       bashbug will utilize the following environment variables if they exist:

       EDITOR Specifies the preferred editor. If EDITOR is not set, bashbug 
attempts to locate  a
              number of alternative editors, including emacs, and defaults to 

bashbug should open vi.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]