简体   繁体   English

找不到“ open”命令-Oh-My-Zsh

[英]`open` Command not found - Oh-My-Zsh

I am trying to open the current directory in the finder using the open . 我正在尝试使用open在查找器中打开当前目录open . command but nothing happens. 命令,但没有任何反应。

Not even an error. 甚至没有错误。

What could be the problem? 可能是什么问题呢?

Typically, if a command does not work while the rest is working, it means it is overwritten somehow: 通常,如果命令在其余命令正常工作时不起作用,则表示该命令被某种方式覆盖:

  • alias 别名
  • bash function bash功能

The OP relidon confirms in the comments : OP relidon 在评论中确认:

I had created by own bash function and called it open 我已经通过自己的bash函数创建了它并称之为open

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM