tmux エラー: '/bin:/usr/bin' が PATH 環境変数に含まれていないため、コマンドが見つかりません。

tmux エラー: '/bin:/usr/bin' が PATH 環境変数に含まれていないため、コマンドが見つかりません。

$tmuxtmuxセッションのインスタンスを実行して開き、コマンドを実行しようとすると、ls次のエラーが発生します。

∆ ls
Command 'ls' is available in the following places
 * /bin/ls
 * /usr/bin/ls
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.

ls: command not found

ベストアンサー1

tmux呼び出しの前後にPATHを確認してください。

echo $PATH

もしそうなら、あなたの~/.bash_profile現在を超えている何かがあるでしょう$PATH

おすすめ記事