hyper 终端
Hyper is a terminal built on web technologies, based on JavaScript, HTML and CSS providing a beautiful and extensible experience for command-line interface users. Hyper achieves a lot of its speed and functionality thanks to the power of hterm underneath, the terminal emulator of the Chromium project.
Hyper是基于JavaScript,HTML和CSS的基于Web技术的终端,可为命令行界面用户提供优美而可扩展的体验。 借助 Chromium项目的终端仿真器hterm的强大功能,Hyper实现了许多速度和功能。
If you're just getting started with Hyper terminal I'd suggest you definitely head to Hyper website, they have an extensive installation guide and usage documentation
如果您刚刚开始使用Hyper终端,建议您一定要访问Hyper网站,他们提供了广泛的安装指南和使用说明文件
Today we'll be looking at the best packages and themes to make our Hyper terminal much cooler.
今天,我们将寻找最好的软件包和主题,以使我们的Hyper终端更酷。
先决条件 ( Prerequisites )
注意 (Note)
Important words
are highlighted.Important words
突出显示。- Bold words emphasis a point. 粗体字强调一点。
- Previous / Next code appears like this
. . .
. 上一个/下一个代码显示如下. . .
. . .
。 Material Theme for Hyper are link to package/theme npm repository.
Hyper的Material Theme是指向package / theme npm存储库的链接。
This project requires Node.js v6.11.0 LTS or higher and Hyper installed. Now that you have completed the prerequisites, let's get started!
此项目需要Node.js v6.11.0 LTS或更高版本并安装了Hyper 。 现在您已经完成了先决条件,让我们开始吧!
安装软件包和主题 ( Installing Packages And Themes )
Hyper primary focus has been around speed, stability and the development of API for extension authors. Extensions are available on npm and you can search hyper
using npm search command.
超级主要的重点是扩展作者的速度,稳定性和API的开发。 扩展在npm上可用,您可以使用npm search命令搜索hyper
。
$npm search hyper
Then edit ~/.hyper.js
and add it to plugins
然后编辑~/.hyper.js
并将其添加到插件
module.exports = {
. . .,
plugins: [
"hyper-ayu",
"<other-plugins-here>"
]
};
Fully reload Hyper (Cmd + Shift + R)
and Hyper will show a notification when your modules are installed to ~/.hyper_plugins.
完全重新加载Hyper (Cmd + Shift + R)
,当将模块安装到~/.hyper_plugins.
时,Hyper将显示一条通知~/.hyper_plugins.
主题 ( Themes )
超材料主题 ( Material Theme for Hyper )
config: {
MaterialTheme: {
theme: