mac 系统有自带的 ctags,但是不支持 "ctags -R" 指令,需要自己在安装 Exuberant Ctags
1. 下载 ctags
2. 安装
./configure --prefix=$HOME //指定安装路径makemake install
3. 设置路径
在. profile 文件中导入新安装的 ctags 的路径
export PAHT="$HOME/bin:$PATH"
来源: