freebsd-dev/bin/sh
Piotr Pawel Stefaniak 68700941c7 sh: fix autocompletion for commands that share name with a directory
Provide libedit a special function making it always add a space after
the autocompleted command. The default one adds a slash if the word is
also a name of a directory in the current working directory, but this is
wrong for commands.

Reviewed by:	bapt, jilles
Differential Revision: https://reviews.freebsd.org/D34544
2022-03-28 08:45:03 +02:00
..
bltin
funcs
tests sh: Fix heredoc at certain places in case and for 2021-10-27 21:05:19 +02:00
alias.c
alias.h
arith_yacc.c
arith_yacc.h
arith_yylex.c
arith.h
builtins.def sh: Remove remnants to compile out fc completely 2020-04-22 21:45:43 +00:00
cd.c
cd.h
dot.profile sh: Set PATH envvar after setting HOME in dotfile 2021-10-26 22:50:09 +08:00
dot.shrc sh(1): fix home/del key on mobaxterm env 2021-10-20 14:00:20 +02:00
error.c src/bin/sh: Fix spelling errors 2021-10-02 10:39:24 -06:00
error.h
eval.c src/bin/sh: Fix spelling errors 2021-10-02 10:39:24 -06:00
eval.h
exec.c sh: Add -o verify to use O_VERIFY when sourcing scripts 2021-09-23 10:43:09 +02:00
exec.h
expand.c
expand.h
histedit.c sh: fix autocompletion for commands that share name with a directory 2022-03-28 08:45:03 +02:00
input.c sh: Avoid some headers when NO_HISTORY is set. 2021-11-24 17:53:39 -08:00
input.h sh: Add -o verify to use O_VERIFY when sourcing scripts 2021-09-23 10:43:09 +02:00
jobs.c sh: Don't add something to a null pointer 2022-01-26 23:13:20 +01:00
jobs.h
mail.c
mail.h
main.c sh: Add -o verify to use O_VERIFY when sourcing scripts 2021-09-23 10:43:09 +02:00
main.h sh: Add -o verify to use O_VERIFY when sourcing scripts 2021-09-23 10:43:09 +02:00
Makefile Bump WARNS for sh(1). 2020-04-01 15:12:51 +00:00
Makefile.depend
memalloc.c sh: silence sanitizer 2021-04-01 07:31:03 +02:00
memalloc.h
miscbltin.c read builtin: Empty variables on timeout 2021-09-24 11:34:54 -07:00
mkbuiltins sh: Remove remnants to compile out fc completely 2020-04-22 21:45:43 +00:00
mknodes.c
mksyntax.c
mktokens
myhistedit.h sh: implement persistent history storage 2021-05-10 18:57:13 +02:00
mystring.c
mystring.h
nodes.c.pat
nodetypes src/bin/sh: Fix spelling errors 2021-10-02 10:39:24 -06:00
options.c sh: Add -o verify to use O_VERIFY when sourcing scripts 2021-09-23 10:43:09 +02:00
options.h sh: Add -o verify to use O_VERIFY when sourcing scripts 2021-09-23 10:43:09 +02:00
output.c
output.h
parser.c sh: Fix heredoc at certain places in case and for 2021-10-27 21:05:19 +02:00
parser.h
profile
redir.c
redir.h
sh.1 sh: Add -o verify to use O_VERIFY when sourcing scripts 2021-09-23 10:43:09 +02:00
shell.h src/bin/sh: Fix spelling errors 2021-10-02 10:39:24 -06:00
show.c sh: fix debug build 2021-04-11 09:23:14 +02:00
show.h sh: fix debug build 2021-04-11 09:23:14 +02:00
TOUR
trap.c sh: Avoid some headers when NO_HISTORY is set. 2021-11-24 17:53:39 -08:00
trap.h sh: Keep ignored SIGINT/SIGQUIT after set in a background job 2020-08-28 15:35:45 +00:00
var.c
var.h