Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0
(cherry picked from commit e76a14179d67f2b1886e44d3c8e16ce3a02cceed)
This commit is contained in:
parent
ec48e8b135
commit
06e28b1731
@ -1,6 +1,6 @@
|
|||||||
Name: readline
|
Name: readline
|
||||||
Version: 8.2
|
Version: 8.2
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Readline library for editing typed command lines
|
Summary: Readline library for editing typed command lines
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -79,8 +79,15 @@ export CPPFLAGS="-I%{_includedir}/ncurses"
|
|||||||
%exclude %{_infodir}/dir*
|
%exclude %{_infodir}/dir*
|
||||||
%{_mandir}/man3/*.3.gz
|
%{_mandir}/man3/*.3.gz
|
||||||
|
|
||||||
|
%posttrans
|
||||||
|
if ! grep -q "enable-bracketed-paste" /etc/inputrc; then
|
||||||
|
echo "set enable-bracketed-paste 0" >> /etc/inputrc
|
||||||
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 23 2025 shixuantong <shixuantong1@huawei.com> - 8.2-4
|
||||||
|
- Add shell command to switch bracketed-paste mode from on to off to keep consistent with realine-8.0
|
||||||
|
|
||||||
* Wed Jan 8 2025 beta <beta@yfqm.date> - 8.2-3
|
* Wed Jan 8 2025 beta <beta@yfqm.date> - 8.2-3
|
||||||
- backport patch to fix segmentation fault problem
|
- backport patch to fix segmentation fault problem
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user