mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-09 11:40:30 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user