前提・実現したいこと
デバイス:macbook air 2018モデル
OS:Catalina 10.15.1
ツール:iTerm2 zshで使用
発生している問題・エラーメッセージ
iTerm2起動時・新規タブ作成時に下記が表示されるようになりました。
起動するたびにcontrol + c を行わないと使えないため、不便です・・・
どなたか、正常に起動するようにする方法をご教示頂きたいです。
Last login: Sat Dec 14 12:08:53 on ttys003 You have mail. /Users/username/.zshrc:source:1: no such file or directory: /Users/username/.profile /usr/local/etc/bash_completion:59: command not found: shopt /usr/local/etc/bash_completion:65: command not found: complete /usr/local/etc/bash_completion:72: command not found: complete (中略) /usr/local/etc/bash_completion:1577: command not found: complete /usr/local/etc/bash_completion:1577: command not found: complete /usr/local/etc/bash_completion:1633: command not found: #
補足情報(FW/ツールのバージョンなど)
.zshrcの内容
username@usernamenoMacBook-Air ~ % cat .zshrc source ~/.profile export PATH=/usr/local/bin:/Users/username/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin export PATH=/usr/local/sbin:/Users/username/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin alias cot='open $1 -a /Applications/CotEditor/CotEditor.app' export PATH=$HOME/.nodebrew/current/bin:$PATH if [ -f ~/.bashrc ]; then . ~/.bashrc fi export PATH="/usr/local/opt/php@7.2/bin:$PATH" export PATH="/usr/local/opt/php@7.2/sbin:$PATH" ## # Your previous /Users/username/.bash_profile file was backed up as /Users/username/.bash_profile.macports-saved_2019-09-03_at_11:29:55 ## # MacPorts Installer addition on 2019-09-03_at_11:29:55: adding an appropriate PATH variable for use with MacPorts. export PATH="/opt/local/bin:/opt/local/sbin:$PATH" # Finished adapting your PATH environment variable for use with MacPorts. username@usernamenoMacBook-Air ~ %
回答2件
あなたの回答
tips
プレビュー