pandev
V2EX  ›  问与答

求教下 mac 的系统环境配置问题

  •  
  •   pandev · Aug 14, 2014 · 3667 views
    This topic created in 4464 days ago, the information mentioned may be changed or developed.
    重置过一次环境配置

    现在如果开新的终端(iterm2)或重启

    都要手动.source ~/.bash_profile

    里边的配置才生效..


    不知有解决方案否?
    3 replies  •  2014-08-14 13:40:00 +08:00
    kfll
    kfll
    Aug 14, 2014
    1
    用 ~/.bashrc
    senghoo
    senghoo
    Aug 14, 2014
    2
    LS 正解。 启动互交式shell的时候默认不处理bash_profile。
    SoloCompany
    SoloCompany
    Aug 14, 2014 via Android
    3
    检查一下是不是iterm设置错了,没有选中 login shell
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2382 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 15:25 · PVG 23:25 · LAX 07:25 · JFK 10:25
    ♥ Do have faith in what you're doing.