推荐一个在访达一键打开终端的 app

12 条回复
139 次浏览

imgpre.gif

cdto:在目标文件夹点击 app 图标直接打开位于当前目录的终端

相比原生方式:

  1. 右键文件夹->服务->打开位于当前位置的终端窗口
  2. 聚焦搜索终端回车打开终端->输入 cd 并将文件夹拖进来

相比于原生的方式方便了一点点

GitHub

使用:

下载->解压->拖动解压出来的 app 到应用程序文件夹(防止误删)->按住 cmd 将 cdto 图标拖到访达工具栏进行固定
首次打开需授权

⚠️ 该内容发布时间较早,内容的参照性可能变弱,请仔细甄别。
OP
GRD

右键文件夹->服务->打开位于当前位置的终端窗口

对有这个,但是还是不够方便 😂

点一下和点两下的区别吧,我倒是觉得多点一下也没关系,没必要多装一个 app

OP
GRD

It's also shell agnostic. Works equally well when your shell is bash or fish or zsh.
它也是无壳的。无论是用 bash、fish 还是 zsh,这种方法都同样有效。
这是仓库的说明
如果是替换了默认终端那估计可以1765963029107.png
如果是独立的另一个终端那可能不太行,你试试?

马上来
复制
@lin on run {input, parameters}
	tell application "Finder"
		try
			-- 获取当前最前面的 Finder 窗口的路径
			set theTarget to (target of front window) as text
			set currentPath to POSIX path of theTarget
		on error
			-- 如果没有打开窗口,默认指向桌面
			set currentPath to POSIX path of (desktop as alias)
		end try
	end tell
	
	-- 启动 Alacritty 并指定工作目录
	do shell script "/Applications/Alacritty.app/Contents/MacOS/alacritty --working-directory " & quoted form of currentPath & " > /dev/null 2>&1 &"
end run

弄个 applescript 实现一样的功能,使用方式和这个 cd 一致,

展开 3 条评论

感谢分享,现在有很多第三方访达管理国家自带

发表一个评论

R保持