tcsh-org / tcsh

This is a read-only mirror of the tcsh code repository.
https://www.tcsh.org/
Other
232 stars 42 forks source link

History breaks when using modifiers ``:gx``, ``:l``... #37

Closed jamacku closed 3 years ago

jamacku commented 3 years ago

Description History breaks when using modifiers like :gx or :l. Using the upper arrow for re-executing old commands from history doesn't always show the full command (please see below).

How to reproduce

Expected outcome When hitting the upper arrow , while modifiers were set, show the full command from history.

Note Originally reported in rhbz#1906064.

zoulasc commented 3 years ago

Fixed, thanks! Sorry it took so long.

christos

On Jun 18, 2021, at 2:13 PM, Jan Macku @.***> wrote:

alias postcmd '/bin/echo -n "COMMAND:"'"'"'!#:-$:gx'"'"''

jamacku commented 3 years ago

No problem, thank you Christos!

Patches c14852867786c798f98a23d075e76a2e2acce204 and 04a68ad191cfcb87cdff70a6b913721e423cd28b fixing the issue. Verified on Fedora Rawhide (F35).