TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Console productivity hack: Discover the frequent; then make it the easy

46 点作者 ecounysis超过 13 年前

7 条评论

bediger超过 13 年前
The money quote (of the analytical section):<p><i>Yet, research in human-computer interaction barely acknowledges the command line's existence. It's a strange omission, since the core principles of human factors engineering still apply to the console.</i><p>Why is this? I've also noticed a corollary, that interface testing for "experts" doesn't really use expert testing. One paper I've read (name eludes me) about text editor usability had the nominal "expert" users ignoring regular expression searching, and just scrolling about randomly for the assigned phrase.<p>Either truly "expert" users are so few and far between that researchers can't find them, or the researchers can't tell who qualifies as an "expert" and who doesn't.
评论 #3424778 未加载
tmhedberg超过 13 年前
I highly recommend autojump[1] as a simple way to jump to commonly-used working directories. It's saved me a lot of repetitive typing since I discovered it.<p>[1] <a href="https://github.com/joelthelion/autojump" rel="nofollow">https://github.com/joelthelion/autojump</a>
评论 #3425218 未加载
rcfox超过 13 年前
(I have a feeling that) my frequently used commands change depending on what I'm doing, and with time. Instead of trying to alias my current favourite commands, I tend to just use the backwards history search built in to my shell, and access it with Ctrl-R. I can type the beginning of the command and have the rest of it completed for me.<p>The only thing that would make it better is Ido-style completion.
mdonahoe超过 13 年前
I feel validated , since I recently wrote some aliases that quickly switch me to my frequently used directories.<p>Logging to a database is an excellent idea.
GICodeWarrior超过 13 年前
No real need for a Perl script here.<p><pre><code> alias frequency='sort | uniq -c' </code></pre> Also, this should probably use exec.<p><pre><code> system(". cdto '@row'") ; exit ; </code></pre> Otherwise, you are needlessly keeping Perl on your stack.
alexyoung超过 13 年前
I use cdargs (<a href="http://www.skamphausen.de/cgi-bin/ska/CDargs" rel="nofollow">http://www.skamphausen.de/cgi-bin/ska/CDargs</a>) for "bookmarking" commonly accessed directories. It doesn't automatically add entries though.
vdm超过 13 年前
keyfreq does this in emacs.<p><a href="http://code.google.com/p/ergoemacs/source/browse/trunk/packages/keyfreq.el" rel="nofollow">http://code.google.com/p/ergoemacs/source/browse/trunk/packa...</a>