
外部精选
软件工程
#开发者实时流开发者发布 TempCD:一条命令在目录中临时执行后自动返回
来源标题:Show HN: TempCD – Temporarily CD in a directory with one command
开发者做了一款小工具 TempCD,让用户进入某个目录执行一次命令后自动回到原来的位置,省去再输一次 cd 的步骤。用法很简单:执行 tcd ~/example 后运行命令,命令结束即返回原目录。该工具已在 Hacker News 的 Show HN 板块发布。
Hacker News 最新zaflalo2026/11/13 · 今天1 分钟阅读
这个来源的 RSS 只提供摘要,下面是原文导语;完整论述请点「打开原文」。
TempCD is just a small thing I made, its only purpose it to eliminate having to enter cd again after only wanting to do one command in a directory. Super simple, just:> tcd ~/example ~/example> command command output
That's it, just returns you back to where you were before without having to type cd again. Comments URL: https://news.ycombinator.com/item?id=50477500 Points: 1
Comments: 0
本条为导读摘要,完整论述请以原文为准。