摘要:
1.设置ll vim ~/.zprofile 然后添加: alias ll='ls -lGa' 不想显示隐藏文件的话: alias ll='ls -lG' 2.设置快速上翻历史命令 vim ~/.zprofile 然后添加: bindkey "^[[A" history-beginning-sear 阅读全文
摘要:
1.先mark一个文件操作:遍历(或者迭代遍历)指定目录,boost::filesystem可真好用 1 for (const auto& it : boost::filesystem::directory_iterator("/your/path")) { 2 if (it.path().exte 阅读全文