.bash_profile在每次item启动的时候不会自动执行.
如果shell 是bash, 把 . ~/.bash_profile 追加到 ~/.bashrc 末尾. 如果是zsh, 就把. ~/.bash_profile 追加到~/.zshrc末尾. 因为这些shell工具,在打开的时候,会执行这些配置.
如果shell 是bash, 把
. ~/.bash_profile
追加到 ~/.bashrc 末尾.
如果是zsh, 就把. ~/.bash_profile
追加到~/.zshrc末尾.
因为这些shell工具,在打开的时候,会执行这些配置.