zhfish
V2EX  ›  macOS

装了 ohmyzsh,为啥.bash_profile 就不执行了...那改环境变量应该去哪呢?

  •  
  •   zhfish · Aug 31, 2014 · 14253 views
    This topic created in 4448 days ago, the information mentioned may be changed or developed.
    7 replies  •  2015-07-02 09:44:36 +08:00
    tamamaxox
    tamamaxox
    Aug 31, 2014
    1
    在.zshrc下面改或者在 .profile(后面这个我不太记得work否)
    simaoji
    simaoji
    Aug 31, 2014
    2
    把.bash_profile考到.zshrc里面吧
    zhfish
    zhfish
    OP
    Aug 31, 2014
    3
    thanks 两位
    在.zshrc里执行了.bash_profile
    一切皆休~~~
    johnlui
    johnlui
    Aug 31, 2014
    4
    建议拷过去,维护两分配置文件比一份配置文件费劲。。。
    zhfish
    zhfish
    OP
    Sep 1, 2014
    5
    @johnlui .bash_profile比较常用吧... .zshrc基本不动它,其实是维护一份配置文件..就算卸载了zshrc也不影响..
    amghost
    amghost
    Jun 25, 2015
    6
    @zhfish 请问怎么在.zshrc里执行.bash_profile
    taozhi8833998
    taozhi8833998
    Jul 2, 2015
    7
    @amghost source ~/.bash_profile
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1550 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 714ms · UTC 18:37 · PVG 02:37 · LAX 10:37 · JFK 13:37
    ♥ Do have faith in what you're doing.