Skip to content

.tmux.conf 配置文件及Mac启动时初始化web服务器的脚本

License

Notifications You must be signed in to change notification settings

zhuohuwu0603/mac-tmux

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tmux config

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

Clone

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

Install

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

Start web server while mac restart

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

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

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

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

License

Released under MIT LICENSE.

About

.tmux.conf 配置文件及Mac启动时初始化web服务器的脚本

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%