摘要:
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 閱讀全文