项目作者: Louiszhai

项目描述 :
.tmux.conf 配置文件及Mac启动时初始化web服务器的脚本
高级语言: Shell
项目地址: git://github.com/Louiszhai/tmux.git
创建时间: 2017-09-30T01:56:01Z
项目社区:https://github.com/Louiszhai/tmux

开源协议:MIT License

下载


Tmux config

该项目主要用于记录tmux的配置文件,以及其开机启动服务的脚本。

Clone

  1. mkdir ~/.tmux
  2. git clone git@github.com:Louiszhai/tmux.git ~/.tmux/tmux-config

Install

  1. ln -s ~/.tmux/tmux-config/.tmux.conf ~/.tmux.conf

Start web server while mac restart

首先,指定 init.sh 脚本权限为可执行。

  1. chmod u+x ~/.tmux/tmux-config/init.sh

然后,打开 系统偏好设置 - 用户与群组 - 登录项,点击添加按钮 +,选择 init.sh 脚本,最终效果如下:

至此,Mac开机将自动运行init.sh脚本,自动启用web服务器。

License

Released under MIT LICENSE.