Skip to content

Quick substitution (^dog^cat^)#20

Open
P1n3appl3 wants to merge 2 commits into
nickeb96:masterfrom
P1n3appl3:quick-substitution
Open

Quick substitution (^dog^cat^)#20
P1n3appl3 wants to merge 2 commits into
nickeb96:masterfrom
P1n3appl3:quick-substitution

Conversation

@P1n3appl3

Copy link
Copy Markdown

I was missing this expansion which the bash docs calls "quick substitution", so I've implemented it here. Matching against the whole command line every time you type a ^ is a little bit spooky, but I think it should be fine perf-wise.

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

Successfully merging this pull request may close these issues.

1 participant