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

!! Support #9

Open
Samasaur1 opened this issue Dec 29, 2019 · 2 comments
Open

!! Support #9

Samasaur1 opened this issue Dec 29, 2019 · 2 comments

Comments

@Samasaur1
Copy link
Owner

As mentioned in #7 and #6, REPL should support using !! to refer to the previous command. This specifically relates to #6, as the work being done for that (having a history of commands) means that substituting !! for the previous command should be easy.

@Samasaur1
Copy link
Owner Author

Actually, upon further thought, I'm not sure when in the process Bash substitutes !! for the previous command — it's possible it's not parsed in strings, which we'd want to mimic. My point is that I don't think it's as easy as a flat-out find&replace.

@Samasaur1
Copy link
Owner Author

upon even more thought, especially since i don't think it will be easy to add things to the bash history, we can just substitute !! on our own using the commands you've entered in REPL

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

1 participant