From: AceVest Date: Mon, 3 Apr 2017 08:48:18 +0000 (+0800) Subject: mbp bash profile X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=2722562664ed797dde4961e9237eb006d775aee6;p=acecode.git mbp bash profile --- diff --git a/learn/doc/mbp_bash_profile b/learn/doc/mbp_bash_profile new file mode 100644 index 0000000..a7f6dc9 --- /dev/null +++ b/learn/doc/mbp_bash_profile @@ -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/'