LoginSignup
1
0

More than 5 years have passed since last update.

Mojaveにしたらpeco-historyできなくなったときの対処法

Posted at

コマンド履歴をpecoろうと思ったらエラーになってしまったので、対処法のメモ。

書いてる人は、こちらを参考に bash+peco-historyを使ってます。
https://qiita.com/yungsang/items/09890a06d204bf398eea

発生状況

Ctrl-R > pecoの一覧から選択したら

$ 47:65: execution error: System EventsにApple Eventsを送信する権限がありません。 (-1743)

対処法

  • 権限がないのが原因なので システム環境 > セキュリティとプライバシー > オートメーション の System Events.app にチェック スクリーンショット 2019-01-06 10.33.48.png
  • 再度、Ctrl-R > pecoの一覧から選択すると、確認アラートが開くので スクリーンショット 2019-01-06 10.35.21.png
  • システム環境画面を開き、ターミナルを許可すればOK

無事にpeco-historyできるようになりました!

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0