Think before you speak, read before you think.

mac terminal 查词典

在 mac 的 terminal 下打开词典并查 blog

open dict://blog

要输入的命令有点长,于是在 ~/.zshrc 中添加函数

dict(){
  open dict://$1
}

在 terminal 中可以这样查 dict blog


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *