| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 18 Dec 2025 22:42:22 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20080629132901
location: https://web.archive.org/web/20080629132901/https://blog.macromates.com/comments/feed/
server-timing: captures_list;dur=0.813874, exclusion.robots;dur=0.069291, exclusion.robots.policy;dur=0.052720, esindex;dur=0.011416, cdx.remote;dur=5.899432, LoadShardBlock;dur=292.612839, PetaboxLoader3.datanode;dur=124.426846, PetaboxLoader3.resolve;dur=102.991395
x-app-server: wwwb-app214-dc8
x-ts: 302
x-tr: 325
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app214; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 18 Dec 2025 22:42:23 GMT
content-type: text/xml;charset=utf-8
x-archive-orig-date: Sun, 29 Jun 2008 13:29:01 GMT
x-archive-orig-server: Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g
x-archive-orig-x-powered-by: PHP/5.2.4-2ubuntu5.1
x-archive-orig-x-pingback: https://blog.macromates.com/xmlrpc.php
x-archive-orig-etag: "26fdcb79c073ed53441e09c52cbdcf90"
x-archive-orig-last-modified: Sun, 29 Jun 2008 10:28:19 GMT
x-archive-orig-connection: close
cache-control: max-age=1800
x-archive-guessed-content-type: text/xml
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 29 Jun 2008 13:29:01 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_4_20080629085727_crawl103-c/52_4_20080629132816_crawl100.arc.gz
server-timing: captures_list;dur=0.922150, exclusion.robots;dur=0.035379, exclusion.robots.policy;dur=0.015947, esindex;dur=0.019877, cdx.remote;dur=23.325996, LoadShardBlock;dur=364.702966, PetaboxLoader3.datanode;dur=278.206999, PetaboxLoader3.resolve;dur=319.696710, load_resource;dur=277.361025
x-app-server: wwwb-app214-dc8
x-ts: 200
x-tr: 695
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
Comments for TextMate Blog
https://blog.macromates.com
TextMate and OS X
Sun, 29 Jun 2008 13:29:01 +0000
https://wordpress.org/?v=2.5.1
-
Comment on Working With History in Bash by Pádraig Brady
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3293
Pádraig Brady
Sun, 29 Jun 2008 10:28:19 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3293
<p>Rather than using ^r to search the history, I usually type the start of the command, and then use the up/down arrows to complete it. Details here:
https://www.pixelbeat.org/settings/.inputrc</p>
Rather than using ^r to search the history, I usually type the start of the command, and then use the up/down arrows to complete it. Details here:
https://www.pixelbeat.org/settings/.inputrc]]>
-
Comment on Working With History in Bash by Alok
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3292
Alok
Sun, 29 Jun 2008 09:07:16 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3292
<blockquote>
<p>The reason I dislike ⌃R is both because the interactive stuff just seems to get in the way</p>
</blockquote>
<p>Here's how to use it properly.</p>
<p>^rgit will show you the last line in your shell history with git.</p>
<p>From here you can:</p>
<ol>
<li>Press enter to re-execute your command immediately.</li>
<li>Press ESC or CTRL-[ to edit the command line found, for what you need.</li>
<li>And much better, type ^r to search more for previous instance, from the current position.</li>
</ol>
<p>In any case it is quicker than ESC-P and more powerful.</p>
-
Comment on Working With History in Bash by Peteris Krumins
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3291
Peteris Krumins
Sun, 29 Jun 2008 06:47:48 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3291
<p>Fixing my previous comment:</p>
<p>Article: <a href="https://www.catonmat.net/blog/the-definitive-guide-to-bash-command-line-history/" rel="nofollow">The Definite Guide to Bash History</a></p>
Fixing my previous comment:
-
Comment on Working With History in Bash by Peteris Krumins
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3290
Peteris Krumins
Sun, 29 Jun 2008 06:47:17 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3290
<p>I have written an article which teaches how to work efficiently on the command line.</p>
<p>It's called "[The Definite Guide to Bash History])https://www.catonmat.net/blog/the-definitive-guide-to-bash-command-line-history/)"</p>
<p>Sincerely,
Peter</p>
I have written an article which teaches how to work efficiently on the command line.
-
Comment on Working With History in Bash by Naveed
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3289
Naveed
Sun, 29 Jun 2008 00:32:48 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3289
<p>You should consider putting the following 2 lines in your .inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
It will allow you to search backward just by pressing the up key.</p>
You should consider putting the following 2 lines in your .inputrc
“\e[A”: history-search-backward
“\e[B”: history-search-forward
It will allow you to search backward just by pressing the up key.]]>
-
Comment on Working With History in Bash by Thomas Aylott
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3288
Thomas Aylott
Sun, 29 Jun 2008 00:30:44 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3288
<p><code>bind '"\e[A"':history-search-backward</code></p>
<p><code>bind '"\e[B"':history-search-forward</code></p>
<p><em>no, I'm not a Markdown pro :'(</em></p>
-
Comment on Working With History in Bash by Thomas Aylott
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3287
Thomas Aylott
Sun, 29 Jun 2008 00:29:56 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3287
<p>Personally, instead of using the <code>escape-p</code> business, I just replaced the standard up/down character history search with the history search with context. If you want it to work without the context just move your cursor to the left.</p>
<p><code>bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward</code></p>
Personally, instead of using the
-
Comment on Working With History in Bash by Thomas Aylott
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3286
Thomas Aylott
Sun, 29 Jun 2008 00:28:14 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3286
<p>Simply add <code>bind Space:magic-space</code> to your <code>.bash_profile</code> to be able to auto-expandy those crazy <code>!</code> commands inline before executing them.</p>
Simply add
-
Comment on Working With History in Bash by Daniel Stockman
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3285
Daniel Stockman
Sat, 28 Jun 2008 21:17:15 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3285
<p>Thanks Allan, this is great!</p>
Thanks Allan, this is great!]]>
-
Comment on Working With History in Bash by Steve L
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3284
Steve L
Sat, 28 Jun 2008 21:14:42 +0000
https://blog.macromates.com/2008/working-with-history-in-bash/#comment-3284
<p>Wow ... and all this time I've been thinking that I was pretty handy with the shell.</p>
<p>Thanks for the schooling.</p>
Wow … and all this time I’ve been thinking that I was pretty handy with the shell.
The reason I dislike ⌃R is both because the interactive stuff just seems to get in the way
Here’s how to use it properly.
^rgit will show you the last line in your shell history with git.
From here you can:
- Press enter to re-execute your command immediately.
- Press ESC or CTRL-[ to edit the command line found, for what you need.
- And much better, type ^r to search more for previous instance, from the current position.
In any case it is quicker than ESC-P and more powerful.
]]>Article: The Definite Guide to Bash History
]]>It’s called “[The Definite Guide to Bash History])https://www.catonmat.net/blog/the-definitive-guide-to-bash-command-line-history/)”
Sincerely, Peter
]]>bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward
no, I’m not a Markdown pro :’(
]]>escape-p business, I just replaced the standard up/down character history search with the history search with context. If you want it to work without the context just move your cursor to the left.
bind '"\e[A"':history-search-backward
bind '"\e[B"':history-search-forward
bind Space:magic-space to your .bash_profile to be able to auto-expandy those crazy ! commands inline before executing them.]]>Thanks for the schooling.
]]>