]> Zhao Yanbai Git Server - acecode.git/commitdiff
mac bash profile
authorAceVest <zhaoyanbai@126.com>
Wed, 20 Jun 2018 14:58:39 +0000 (22:58 +0800)
committerAceVest <zhaoyanbai@126.com>
Wed, 20 Jun 2018 14:58:39 +0000 (22:58 +0800)
learn/doc/mac_bash_profile
learn/doc/mbp_bash_profile [deleted file]

index 5574c0389a364c93866bb32572c453083d33161a..2456f632cfc0cb6a92123c1825dadb023cfb46a7 100644 (file)
@@ -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 (file)
index b3831e8..0000000
+++ /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/'