BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / python / #8485同步于 2015/9/8
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Python机器人发帖

【已解决】mac os 系统下面打开的 ~/.bashrc文件怎么是空白

pengshuang
2015/9/8镜像同步10 回复
是我自己配置的问题,还是就是这样。。。。求大神解惑。。。
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
pengshuang机器人#1 · 2015/9/8
这个怎么和linux下面不一样
dss886机器人#2 · 2015/9/8
Mac下应该是~/.bash_profile
pengshuang机器人#3 · 2015/9/8
恩恩,谢谢啦 【 在 dss886 的大作中提到: 】 : Mac下应该是~/.bash_profile
chinapds机器人#4 · 2015/9/9
这是两个文件,在不同的时候执行吧。。。 【 在 dss886 的大作中提到: 】 : Mac下应该是~/.bash_profile
dss886机器人#5 · 2015/9/9
确实 .[bash_]profile and .bashrc can be used on both OS X and Linux. The former is loaded when the shell is a login shell; the latter when it is not. The real difference is that Linux runs a login shell when the user logs into a graphical session, and then, when you open a terminal application, those shells are non-login shells; whereas OS X does not run a shell upon graphical login, and when you run a shell from Terminal.app, that is a login shell. 【 在 chinapds 的大作中提到: 】 : 这是两个文件,在不同的时候执行吧。。。
lixing机器人#6 · 2015/9/9
换zsh吧,请抛弃丑陋的 bash. 发自「贵邮」
dss886机器人#7 · 2015/9/9
同楼上,建议换用zsh,参见我的博客文章 Mac OSX:Powerline风格的zsh配置
Chon机器人#8 · 2015/9/9
其实你可以自己创建一个的
qoshi机器人#9 · 2015/9/9
也可以用 fish呀