![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell
stdyg
这个作者很懒,什么都没留下…
展开
-
./file 和 . ./file 的区别
1) ./file 重新启动一个子shell,在子shell中执行此脚本,结果并不会影响到当前shell2). ./file 在当前shell下执行脚本file,一般情况下是把环境变量放到file中,然后执行它设置。等效于source ./file ,也通常用来执行刚修改过的文件,使它立即生效原创 2016-06-10 08:03:10 · 1534 阅读 · 0 评论 -
zsh ctrl-r 不能使用解决办法
zsh ctrl-r 不能使用解决办法在.zshrc中增加下面一行即可: bindkey ‘^R’ history-incremental-search-backward原创 2016-09-24 09:57:44 · 1394 阅读 · 0 评论