質問編集履歴
1
.zshrcの中身が消えたのを確認した手順を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
Postgres.appをインストールする手順をPostgres.appの公式サイトの通り実行すると、
|
2
2
|
.zshrcの中身が全て消えてしまった。
|
3
|
+
```
|
4
|
+
[.zshrcの中身を確認した方法]
|
5
|
+
cat .zshrc
|
6
|
+
=> cat: .zshrc: No such file or directory
|
7
|
+
(因みにls -aを実行すると、ターミナル上には.zshrcがあります)
|
8
|
+
↓
|
9
|
+
vim .zshrcを実行し、ファイル上に何も記述されていなかったので
|
10
|
+
:q!を実行し終了。
|
11
|
+
```
|
3
12
|
どなたか.zshrcの中身を元に戻す方法ご存知でしょうか(TT)
|
4
13
|
最後の下記コマンドを実行後に.zshrcの中身が全て消えてしまったと思われます。
|
5
14
|
`sudo mkdir -p /etc/paths.d && echo /Applications/Postgres.app/Contents/Versions/latest/bin | sudo tee /etc/paths.d/postgresapp`
|