
thefuck
mac直接使用homebrew安装
1 |
brew install thefuck |
编辑.zshrc文件, 将以下代码插入最后
1 |
eval "$(thefuck --alias)" |
1 |
source .zshrc |
使用
1 |
➜ ~ pythan |
cloc
统计代码语言, 空行数, 注释数
1 |
npm install cloc |
1 |
$ cloc xx.py |

mac直接使用homebrew安装
1 |
brew install thefuck |
编辑.zshrc文件, 将以下代码插入最后
1 |
eval "$(thefuck --alias)" |
1 |
source .zshrc |
使用
1 |
➜ ~ pythan |
统计代码语言, 空行数, 注释数
1 |
npm install cloc |
1 |
$ cloc xx.py |
近期评论