阅读背景:

有没有办法让我的emacs在运行shell命令时识别我的bash别名和自定义函数?

来源:互联网 

In my shell environment I have aliases and custom functions. When I am in an instance of emacs (I always use emacs -nw) and I execute a shell command (M-x !) I cannot use them. This makes sense since I imagine it launches it's own subshell to do these..but is there a way (maybe in my .emacs) to get this to work? Perhaps even if it involved sourcing an environment by default before executing any shell command given?In my shell environment I have aliases and cust




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: