]> Zhao Yanbai Git Server - acecode.git/commitdiff
mbp bash profile
authorAceVest <zhaoyanbai@126.com>
Mon, 3 Apr 2017 08:48:18 +0000 (16:48 +0800)
committerAceVest <zhaoyanbai@126.com>
Mon, 3 Apr 2017 08:48:18 +0000 (16:48 +0800)
learn/doc/mbp_bash_profile [new file with mode: 0644]

diff --git a/learn/doc/mbp_bash_profile b/learn/doc/mbp_bash_profile
new file mode 100644 (file)
index 0000000..a7f6dc9
--- /dev/null
@@ -0,0 +1,21 @@
+#HISTCONTROL=ignoredups  # 连续相同的命令只会记录一次
+#HISTCONTROL=ignorespace # 命令前加空格避免记入历史
+HISTCONTROL=ignoreboth
+
+#export PATH="$(brew --prefix homebrew/php/php56)/bin:$PATH"
+export PATH=/usr/local/sbin:$PATH
+export PATH=/Users/ace/.local/bin:$PATH
+export GOBIN=/Users/ace/.local/bin
+export PATH=/Users/ace/workspace/github/metasploit-framework:$PATH
+export MSF_DATABASE_CONFIG=/Users/ace/workspace/github/metasploit-framework/config/database.yml
+#多个GOPATH用';'分隔 go get会存到第一个目录
+export GOPATH=/Users/ace/go
+export PS1="\W\$ "
+alias ll='ls -lGh'
+alias ls='ls -Gh'
+alias rm='rm -rf'
+alias cls='clear'
+alias grep='grep --color'
+alias egrep='egrep --color'
+alias msf='msfconsole'
+alias cdw='cd ~/workspace/'