diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-30 03:13:53 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-10-30 03:13:53 +0000 |
commit | 2bfdd4a64ee5a0dc061d646cc3b728fbfb9e9156 (patch) | |
tree | 3b93abe80d7f5fd565d8bb45a42d28e225c40921 /bin | |
parent | 6b42c870505d4fe5a9cd7de8bea18021204d6e9e (diff) |
'fc -e -' is deprecated in favor of 'fc -s', so update the built-in alias
ok millert@
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ksh/ksh.1 | 8 | ||||
-rw-r--r-- | bin/ksh/main.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/ksh/ksh.1 b/bin/ksh/ksh.1 index d333b38d7fd..2e59e1070d0 100644 --- a/bin/ksh/ksh.1 +++ b/bin/ksh/ksh.1 @@ -1,8 +1,8 @@ -.\" $OpenBSD: ksh.1,v 1.162 2015/10/17 21:06:23 jmc Exp $ +.\" $OpenBSD: ksh.1,v 1.163 2015/10/30 03:13:52 guenther Exp $ .\" .\" Public Domain .\" -.Dd $Mdocdate: October 17 2015 $ +.Dd $Mdocdate: October 30 2015 $ .Dt KSH 1 .Os .Sh NAME @@ -847,7 +847,7 @@ integer='typeset -i' local='typeset' login='exec login' nohup='nohup ' -r='fc -e -' +r='fc -s' stop='kill -STOP' type='whence -v' .Ed @@ -3159,7 +3159,7 @@ and .Fl s is identical: re-execute the selected command without invoking an editor. This command is usually accessed with the predefined -.Ic alias r='fc -e -' . +.Ic alias r='fc -s' . .Pp .It Ic fg Op Ar job ... Resume the specified job(s) in the foreground. diff --git a/bin/ksh/main.c b/bin/ksh/main.c index 4e8e6391f81..410a0ee4dc6 100644 --- a/bin/ksh/main.c +++ b/bin/ksh/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.71 2015/10/22 15:37:04 mmcc Exp $ */ +/* $OpenBSD: main.c,v 1.72 2015/10/30 03:13:52 guenther Exp $ */ /* * startup, main loop, environments and error handling @@ -97,7 +97,7 @@ static const char *initcoms [] = { "integer=typeset -i", "nohup=nohup ", "local=typeset", - "r=fc -e -", + "r=fc -s", /* Aliases that are builtin commands in at&t */ "login=exec login", NULL, |