有没有一种方法,使在OSX终端的链接点击? [英] Is there a way to make a link clickable in the OSX Terminal?

查看:99
本文介绍了有没有一种方法,使在OSX终端的链接点击?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算开发一个使用mxmlc到TextMate的格式,一个格式错误mxmlc的作为可点击的链接,这样你就可以在TextMate中快速打开它们作为TextMate中有一个URL方案如:txmt://打开/ URL =文件://~/.bash_profile&行= 11安培;列= 2

I am planning on developing an Mxmlc to Textmate formatter, one that formats mxmlc errors as clickable links, so you can open them up quickly in Textmate as Textmate has a url scheme e.g.: txmt://open/?url=file://~/.bash_profile&line=11&column=2.

我想知道是否有可能以显示你的OSX的终端环节,同时也是点击,例如通过改变PS1变量左右。

I am wondering if it is possible to display links in your OSX terminal, that are also clickable, e.g. by changing the PS1 variable or so.

PS。我不希望使用在TextMate的环境中运行的HTML。

ps. I don't want to use HTML that runs in the Textmate environment.

推荐答案

狮子OSX之前:

CMD + + 双击上在Terminal.app一个URL,它会在默认程序中打开。

cmd+shift+double-click on a URL in Terminal.app and it will open in the default program.

狮子OSX:

CMD + 双击(否则你会进入全屏模式)。

cmd+double-click (otherwise you will enter fullscreen mode).

这篇关于有没有一种方法,使在OSX终端的链接点击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆