From 1e7ea6b779684626f089fb6f84fb9504661ecc62 Mon Sep 17 00:00:00 2001 From: AceVest Date: Wed, 20 Jun 2018 22:58:39 +0800 Subject: [PATCH] mac bash profile --- learn/doc/mac_bash_profile | 7 +++---- learn/doc/mbp_bash_profile | 21 --------------------- 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 learn/doc/mbp_bash_profile diff --git a/learn/doc/mac_bash_profile b/learn/doc/mac_bash_profile index 5574c03..2456f63 100644 --- a/learn/doc/mac_bash_profile +++ b/learn/doc/mac_bash_profile @@ -2,16 +2,15 @@ #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 PATH=$HOME/.local/bin:$PATH export PATH=$PATH:$HOME/workspace/esp/xtensa-esp32-elf/bin -export GOBIN=/Users/Ace/.local/bin +export GOBIN=$HOME/.local/bin export IDF_PATH=$HOME/workspace/esp/esp-idf export PATH=$PATH:/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/ export PATH=$PATH:$HOME/Library/Arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin #多个GOPATH用';'分隔 go get会存到第一个目录 -export GOPATH=/Users/Ace/go +export GOPATH=$HOME/go export RTOS_PATH=$HOME/workspace/acecode/rtos/ export PS1="\W\$ " alias ll='ls -lGh' diff --git a/learn/doc/mbp_bash_profile b/learn/doc/mbp_bash_profile deleted file mode 100644 index b3831e8..0000000 --- a/learn/doc/mbp_bash_profile +++ /dev/null @@ -1,21 +0,0 @@ -#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/workspace/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