Make M-r run the contents of the Readline line buffer and replace it with the result in Bash

bind -x '"\er":READLINE_LINE=$(eval "$READLINE_LINE");READLINE_POINT=${#READLINE_LINE}'
bind -x was added in Bash 4.0 so this does not work with Bash 3.2 which comes with macOS.

0
By: lri
2019-01-25 02:35:47

What Others Think

I felt very happy while reading this site. This was really very informative site for me. I really liked it. This was really a cordial post. Thanks a lot!. ?????
KayGasaway · 33 weeks and 5 days ago
We are truly thankful for your blog entry. You will discover a great deal of methodologies in the wake of going to your post. I was precisely scanning for. A debt of gratitude is in order for such post and please keep it up. https://gamebnat.net/mtsite01/
KayGasaway · 33 weeks and 4 days ago
I'm constantly searching on the internet for posts that will help me. Too much is clearly to learn about this. I believe you created good quality items in Functions also. Keep working, congrats! https://first-11.net/muk02/
KayGasaway · 32 weeks and 6 days ago
I think this is an informative post and it is very beneficial and knowledgeable. Therefore, I would like to thank you for the endeavors that you have made in writing this article. All the content is absolutely well-researched. Thanks... CNPR Certification
KayGasaway · 32 weeks and 5 days ago
definately enjoy every little bit of it and I have you bookmarked to check out new stuff of your blog a must read blog! ??????
KayGasaway · 31 weeks and 3 days ago
Excellent way of telling, and pleasant article to get data about my presentation focus, which I am going to convey in academy. sportstoto365
sportstoto365com · 27 weeks and 1 day ago
Your style is so unique in comparison to other people I've read stuff from. I appreciate you for posting when you've got the opportunity, bacarasite
sportstoto365com · 27 weeks and 1 day ago
It's an awesome paragraph designed for all the web visitors; they will get benefit from it I am sure. powerballsite
sportstoto365com · 27 weeks and 1 day ago
More contents like these pls shed builder
geebranz · 19 weeks ago
Your work here on this blog has been top notch from day 1. You've been continously providing amazing articles for us all to read and I just hope that you keep it going on in the future as well. Cheers! Personal Trainers San Diego
KayGasaway · 18 weeks and 5 days ago
Many homework on the continual hunt along with offstage on the road to winning. Definitely not attached, simple to-fall as a result of wayside; And not investigation, afterward into a path travel toward the black. ??? ?????? ???
KayGasaway · 18 weeks and 4 days ago
pleasant post, stay aware of this fascinating work. It truly regards realize that this subject is being secured likewise on this site so cheers for setting aside time to talk about this! finocchiona
KayGasaway · 18 weeks and 4 days ago
I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up. deep cleaning qaar
KayGasaway · 18 weeks and 4 days ago
Superb! You’ve got your brain in gear to your blog post. That’s the best ever. ??????
Jisoomin · 18 weeks and 1 day ago
I love the topic it’s really interesting and I appreciate the effort of the person that wrote the page . ??????
Jisoomin · 18 weeks and 1 day ago
Loved your content, it’s very helpful and aesthetically pleasing ?????
Jisoomin · 18 weeks and 1 day ago
Thanks for this useful document that make me more aware of technics and ethics in a way to write the episcopal writing! ????????
Jisoomin · 18 weeks and 1 day ago
pleasant post, stay aware of this fascinating work. It truly regards realize that this subject is being secured likewise on this site so cheers for setting aside time to talk about this! Corporate Sandwich Platter company Cardiff
ayesha · 18 weeks and 1 day ago
Incredible articles and awesome design. Your blog entry merits the greater part of the positive input it"s been getting. Maine Wedding DJ
ayesha · 18 weeks ago
Incredible articles and awesome design. Your blog entry merits the greater part of the positive input it"s been getting. Buy terpenes online
KayGasaway · 17 weeks and 3 days ago
Thankyou for sharing the data which is beneficial for me and others likewise to see. ???? ???? ????
KayGasaway · 17 weeks and 3 days ago
I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement the concept. Thank you for the post. ??? ??????
ayesha · 16 weeks and 3 days ago
I feel like I’ve got useful information from your blog. I feel good. There are lots of useful information on my site. If you have time, please visit once. oncasino.site
oncasino · 16 weeks ago
casinosite.win People are afraid to start playing online games. But don’t hesitate! There is a proverb that says that the beginning is half. Our website is offering free coupons to make it easier to get started
oncasino · 16 weeks ago
Just ? smiling visitor ?ere to share the love (:, btw outstanding design. Lo?k at my web-site; toto365.pro
oncasino · 16 weeks ago
sportstoto.top Thanks on your marvelous posting! I definitely enjoyed reading it, you could be a great author.I will remember to bookmark your blog and will often come back very soon. I want to encourage that you continue your great job, have a nice holiday weekend!
oncasino · 16 weeks ago
Thank you for your hard work in writing this blog. I'm looking forward to your post on the same advanced website soon. In fact, your creative writing skills have inspired me.
dhfm · 15 weeks and 4 days ago
Personally, I have found that to remain probably the most fascinating topics when it draws a parallel to. You may find two to three new levels inside L . a . Weight loss and any one someone is incredibly important. Initial stage may be real melting away rrn the body. lose weight mtv acapulco shore en vivo
KayGasaway · 15 weeks and 4 days ago
Particular interviews furnish firsthand message on mart size, industry trends, ontogeny trends, capitalist landscape and outlook, etc. Personal Trainers San Diego
KayGasaway · 15 weeks and 4 days ago
Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long. I need this article to complete my assignment in the college, and it has same topic with your article. Thanks, great share. Fotógrafos en Minneapolis
KayGasaway · 14 weeks and 6 days ago
Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing Personal Trainer Near Me
KayGasaway · 14 weeks and 6 days ago
A debt of gratitude is in order for posting this information. I simply need to tell you that I simply look at your site and I discover it exceptionally fascinating and educational. I can hardly wait to peruse bunches of your posts. N95 Face Mask
jackson2321 · 13 weeks and 5 days ago
I blog quite often and I really thank you for your information. This great article has really peaked my interest. I will book mark your site and keep checking for new information about once a week. I opted in for your RSS feed as well. ???????
egaoncasino · 12 weeks ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: