ホームディレクトリから指定した場合
1 2 | ls ~/.bash_profile /bin/ls : /cygdrive/d/home/ .bash_profile: No such file or directory |
1 2 | ls /cygdrive/d/ .bash_profile /bin/ls : /cygdrive/d/home/ .bash_profile: No such file or directory |
1 2 | ls ./.bash_profile ./.bash_profile |
次に cygdrive を見てみると
1 2 | ls /cygdrive/ /bin/ls : /cygdrive/ : No such file or directory |
今朝方、Windows Update と Norton のインストールを行ったためアンインストールしてみる。
が、変わらない・・・
その他、/usr 以下に作っていたディレクトリも見えなくなっている・・・
そこで / から追ってみようと ls を叩いてみると
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ls / Git Bash.vbs README.portable ReleaseNotes.rtf bin cmd doc etc git- bash .bat git-cheetah git-cmd.bat lib libexec share ssl |
そして git の文字が・・・
そういえば、最近 MSysGit に PATH を通した記憶が。
エクスプローラで MSysGit のディレクトリを見てみると同じフォルダ構成になっている。
PATH を消してみるとなおった
どうやら PATH を .bash_profile に設定した後、再読み込みも再起動もしていなかったらしい・・・
MSysGit にある bin の以下にコマンドがありこちらを使用していた模様。