【发布时间】:2020-09-19 01:31:05
【问题描述】:
我最近将我的 shell 从 bash 切换到了 zsh。我已经通过 bash 设置了 Anaconda,但现在我将 zsh 作为我的默认 shell 运行,我找不到 conda,更重要的是,找不到 Jupyter。我认为要访问 Jupyter,我可以使用 exec bash -l,但这似乎是暂时的。我宁愿从 zsh 本地访问 Jupyter。有没有办法将 zsh 链接回 bash 配置?
【问题讨论】:
-
你可以把
source ~/.bashrc放在你的.zshrc中,同样地从.zprofile获取.bash_profile -
@thatotherguy 你的意思是
~/.profile?我在.bashrc或.bash_profile中都没有看到任何配置。无论哪种方式,它都与.profile一起工作,作为答案,我可以相信你。 -
你为 bash 修改的哪个文件,zsh 目前不读取
标签: bash shell command-line