code by @xqin
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | \nl | head -n 10
<!– more –>
code by @xqin
history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a] " " CMD[a]/count*100 "% " a;}' | grep -v "./" | column -c3 -s " " -t | sort -nr | \nl | head -n 10
<!– more –>
安装Go2Shell之后把快捷在当前目录打开终端设置好之后,在终端内输入一下命令:
open -a Go2Shell --args config
执行以下步骤,
然后再打开 Finder ,点击 Go2Shell 小图标即可在 iTerm2 。