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

Preserve underscore variable ($_)

Open NRZCode opened this issue 1 year ago • 0 comments

To preserve the variable underscore ($_), can pass it as argument function in a trap DEBUG. Originally posted by @NRZCode in https://github.com/jichu4n/bash-command-timer/issues/6#issuecomment-2300823123 The PROMPT_COMMAND variable is an array

NRZCode avatar Aug 21 '24 04:08 NRZCode