Mac 下 man 命令汉化
brew install automakebrew install openccgit clonehttps://github.com/man-pages-zh/manpages-zh.gitcdmanpages-zh/autoreconf --install --force./configure/usr/local/share/doc/「doc」/usr/local/share/man/zh_C
·
brew install automake
brew install opencc
cd manpages-zh/
autoreconf --install --force
./configure
-
/usr/local/share/doc/ 「 doc 」
-
/usr/local/share/man/zh_CN/ 「 库 」
make
make install
vim ~/.bashrc
-
alias cman='man -M /usr/local/share/man/zh_CN/'
-
source ~/.bashrc
brew install groff
sudo vim /etc/man.conf
-
MANPATH /usr/local/share/man/zh_CN
-
NROFF preconv -e UTF8 | /usr/local/bin/nroff -Tutf8 -mandoc -c
cman ls
man ls
更多推荐
已为社区贡献1条内容
所有评论(0)