harttle / harttle.github.io

Harttle Land 的源码和文章
https://harttle.land
Creative Commons Attribution 4.0 International
122 stars 32 forks source link

2019/12/26/keep-terminal-cwd #143

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

从当前位置打开 Terminal | Harttle Land

我们有很多工作区时,每次打开一个 Terminal 都需要先 cd 到和上一个 Terminal 一样的位置再开始工作。这个过程既然是固定的,那就一定能自动化。Harttle 遇到的具体场景是,i3wm 有 workspace(工作区)的概念,每个工...

https://harttle.land/2019/12/26/keep-terminal-cwd.html

Jiavan commented 4 years ago

这样的使用场景还挺多的,是个好的通用解决方案,对于用户很多的iTerm来说已经自带了这个功能,简单设置下就好了 :) https://medium.com/ayuth/new-tab-iterm2-with-in-current-directory-627b0c31734a

git4coder commented 1 year ago

系统自带: 设置-->键盘-->键盘快捷键…-->服务-->文件和文件夹-->新建位于文件夹位置的终端标签页/窗口 https://pic.imgdb.cn/item/64ed468c661c6c8e54fd59e3.png

git4coder commented 1 year ago

https://pic.imgdb.cn/item/64ed468c661c6c8e54fd59e3.png

git4coder commented 1 year ago

https://pic.imgdb.cn/item/64ed47cd661c6c8e54fd99b3.png