Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

breaks bash variable $_ #6

Open
sigmonsays opened this issue Nov 8, 2018 · 1 comment
Open

breaks bash variable $_ #6

sigmonsays opened this issue Nov 8, 2018 · 1 comment

Comments

@sigmonsays
Copy link

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

sig@desktop2:~$ echo foo bar
foo bar
sig@desktop2:~$ echo $_
BCTPreCommand
@NRZCode
Copy link

NRZCode commented Aug 21, 2024

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

  trap 'BCTPreCommand "$_"' DEBUG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants