Creating a .bash_profile on your mac】的更多相关文章

A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must-have. Start up Terminal Type "cd ~/" to go to your home folder Type "touch .bash_profile" to create y…
最近刚刚重装了系统,并安装了优雅的shell命令工具zsh,突然发现我放在我的工作目录下的.bash_profile居然在启动的时候执行,导致我的java的一些配置没有注册到bash中.然后查资料得知,安装zsh后他会自动执行~/.zshrc文件,而里面并没有包含.bash_profile 一.Mac系统的环境变量,加载顺序为: /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc 2. 在其最后面加…
细说,在古文言中是”奸细佞臣的话“,现如今成了”详细说明“的缩略. alias是MS-DOC中cmds中doskey的counterpart,是”别名“或者”化名“的意思 alias强大之处在于可以化繁为简,化冗为略,化干戈为玉帛,化腐朽为神奇,简而言之,高手段偷懒. 默认的话所有的设置都是在.bashrc中进行,但是总结我们平时的修改,无外乎alias某个东西,添加PATH环境变量,或者写一个什么作用的函数,就这样,所以呢 写的多了,发现.bashrc文件很长,很不好操作,所以 我们把.bas…
I’ve spent years curating a collection of Mac bash aliases and shortcuts to make my life easier. My full .bash_profile is below, feel free to take whatever you find useful and put it to good use. A (VERY) QUICK PRIMER ON .BASH_PROFILE FOR MAC USERS T…
http://www.jianshu.com/p/44d3b8f713f2 Mac OS是Unix系统的分支,有着强大的命令行功能.很多事情在命令行下处理会事半功倍,所以我就iOS程序员可能会用到的功能讲述一下. 终端设置 Mac的终端有一个很关键的配置,就是“使用 Option 键作为 Meta 键”.勾上这个选项之后,就可以使用Emacs的编辑命令了. Snip20150413_5 我发现有些人的终端没有设置“平滑文本”,导致终端上的文字很难看.赶紧把这个选项勾上吧. Snip2015041…
一.基本信息 1. Email-Ext Plugin功能简介 支持Jenkins邮件发送时,自定义邮件内容功能.详情可以查看jenkins的wiki : https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin 2. 运行环境 系统环境: OS X 10.10.5 Jenkins版本: 1.532.2 二.安装 1. 分析 通过http://localhost:8080/pluginManager/available查看,未找到此插…
What is Inkscape A program for creating vector graphics For Windows, Mac OS, and Linux Open source Free SVG file format used Great for web graphics Outputs to other formats for print and digital Editable by anyone,自己下载后可以修改源代码 Has a diverse community…
A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must-have. Start up Terminal Type "cd ~/" to go to your home folder Type "touch .bash_profile" to create y…
  开发Android的环境要重新在Mac上搭建,结果在配置环境变量时找不到.bash_profile文件.查过很多资料解决方案都很笼统,结果还是在英文网站上找到解决方法. 1. 启动终端Terminal 2. 进入当前用户的home目录 输入cd ~ 3. 创建.bash_profile 输入touch .bash_profile 4. 编辑.bash_profile文件 输入open -e .bash_profile 因为是为了搭建Android开发环境,输入Android SDK下的too…
参考上一篇文章说明:http://www.cnblogs.com/EasonJim/p/6283094.html 得知加载顺序如下: /etc/profile /etc/paths ~/.bash_profile ~/.bash_login ~/.profile ~/.bashrc 当然/etc/profile和/etc/paths是系统级别的,系统启动就会加载,后面几个是当前用户级的环境变量.后面3个按照从前往后的顺序读取,如果~/.bash_profile文件存在,则后面的几个文件就会被忽略…