From 2722562664ed797dde4961e9237eb006d775aee6 Mon Sep 17 00:00:00 2001 From: AceVest Date: Mon, 3 Apr 2017 16:48:18 +0800 Subject: [PATCH] mbp bash profile --- learn/doc/mbp_bash_profile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 learn/doc/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/' -- 2.44.0