fix for displaying `local -'; fix for trap and POSIX interp 1602; fix for readline redisplay when the last invisible character in the prompt string is not on the last line

This commit is contained in:
Chet Ramey
2022-11-07 10:25:28 -05:00
parent 88d69b4fa2
commit 31f4d468b6
14 changed files with 226 additions and 64 deletions
+11
View File
@@ -26,3 +26,14 @@ fn
echo after 2
unset -f fn
# since this sets the exit trap, it has to go last
set +o functrace
# posix interp 1602
ReturnFalse()
{
false ; return
}
trap 'ReturnFalse && echo "woops"' EXIT