bash-command-timer icon indicating copy to clipboard operation
bash-command-timer copied to clipboard

breaks bash variable $_

Open sigmonsays opened this issue 7 years ago • 1 comments

Expected output for "echo $_" below is bar.

sig@desktop2:~$ echo foo bar
foo bar
sig@desktop2:~$ echo $_
BCTPreCommand

sigmonsays avatar Nov 08 '18 20:11 sigmonsays

Update line 230 to preserve value from underscore variable ($_)

  trap 'BCTPreCommand "$_"' DEBUG

NRZCode avatar Aug 21 '24 04:08 NRZCode