Skip to content

athlonreg/archey-osx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archey for OS X

Forkobihann的一个macOS脚本,效果如图

$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/athlonreg/archey-osx/master/bin/archey-en)" 

screen-en.png

$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/athlonreg/archey-osx/master/bin/archey)" 

screen-zh_CN.png

Installation/安装

$ cd && git clone https://github.com/athlonreg/archey-osx 
$ sudo mv archey-osx/ /usr/local/ 
$ sudo ln -s /usr/local/archey-osx/bin/archey /usr/local/bin/archey #中文版
$ sudo ln -s /usr/local/archey-osx/bin/archey-en /usr/local/bin/archey-en #英文版

设置打开终端自启动

$ echo archey >> ~/.bashrc #中文版
$ echo archey-en >> ~/.bashrc #英文版
$ echo "[[ -s ~/.bashrc ]] && source ~/.bashrc" >> ~/.bash_profile 
$ source ~/.bashrc && source ~/.bash_profile 

如果你是oh-my-zsh用户

$ echo archey >> ~/.zshrc #中文版
$ echo archey-en >> ~/.zshrc #英文版
$ source ~/.zshrc 

Update/更新

$ cd /usr/local/archey-osx/ && git pull && cd 

License

This tool is protected by the GNU General Public License v2.

About

漂亮的macOS终端美化脚本

Topics

Resources

Stars

Watchers

Forks

Languages

  • Shell 100.0%