2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

$PATHを$PASHと間違えた話

Last updated at Posted at 2020-02-18

composerのパスを間違えた

zsh
export PATH="$HOME/.composer/vendor/bin:$PASH"

PASHってなんだよ
パシュってなんだよ
赤ちゃんかよカワイイな

結果

sudo: command not found

zsh「すどーって何?」

vim: command not found

zsh「びむってなーに?」

...?
zshで全てのコマンドが使えなくなっただと?!

.zshrc ファイルを直にダブルクリックで書き換えを試みる

「あなたはファイル“.zshrc”の所有者ではなく、そのファイルに書き込む権限がありません。」
 
 

zshが死んだ。この世の終わりだ

対応

トイレに籠って冷静になって

俺たちのbash
sudo vim .zshrc

これでPASHを修正。zsh復活

ありがとう、bash

学び

タイポは死を招く

2
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
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?