質問編集履歴

1

コード追加

2020/08/11 09:48

投稿

PPAP_AWS
PPAP_AWS

スコア105

test CHANGED
File without changes
test CHANGED
@@ -15,3 +15,67 @@
15
15
  /Users/****/.zshrc:20: command not found: 1
16
16
 
17
17
  ```
18
+
19
+ ### cat ~/.zshrcを実行した結果
20
+
21
+
22
+
23
+ ```terminal
24
+
25
+ Last login: Tue Aug 11 00:00:00 on ttys002
26
+
27
+ [2] 69890
28
+
29
+ [2] + exit 1 command -v pyenv 2 > /dev/null
30
+
31
+ /Users/****/.zshrc:20: command not found: 1
32
+
33
+ (base) **** ~ % cat ~/.zshrc
34
+
35
+
36
+
37
+ # >>> conda initialize >>>
38
+
39
+ # !! Contents within this block are managed by 'conda init' !!
40
+
41
+ __conda_setup="$('/Users/****/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
42
+
43
+ if [ $? -eq 0 ]; then
44
+
45
+ eval "$__conda_setup"
46
+
47
+ else
48
+
49
+ if [ -f "/Users/****/opt/anaconda3/etc/profile.d/conda.sh" ]; then
50
+
51
+ . "/Users/****/opt/anaconda3/etc/profile.d/conda.sh"
52
+
53
+ else
54
+
55
+ export PATH="/Users/****/opt/anaconda3/bin:$PATH"
56
+
57
+ fi
58
+
59
+ fi
60
+
61
+ unset __conda_setup
62
+
63
+ # <<< conda initialize <<<
64
+
65
+
66
+
67
+ export PYENV_ROOT="$HOME/.pyenv"
68
+
69
+ export PATH="$PYENV_ROOT/bin:$PATH"
70
+
71
+ eval "$(pyenv init -)"
72
+
73
+ if command -v pyenv 1>/dev/null 2&1; then eval "$(pyenv init -)"
74
+
75
+ fi
76
+
77
+ (base) **** ~ %
78
+
79
+
80
+
81
+ ```