summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_profile16
-rw-r--r--Brewfile13
-rw-r--r--README.md16
3 files changed, 23 insertions, 22 deletions
diff --git a/.bash_profile b/.bash_profile
index c04a8b3..48754c2 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -51,14 +51,6 @@ if command -v rbenv 1>/dev/null 2>&1; then
eval "$(rbenv init -)"
fi
-# ==== NVM config
-# node version manager from homebrew ,the source line to move install location
-# and prevent Node installs being lost upon upgrading nvm.
-if [ -d $HOME/.nvm ]; then
- export NVM_DIR=~/.nvm
- source $(brew --prefix nvm)/nvm.sh
-fi
-
# ==== pyenv config (and virtualenv)
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init --path)"
@@ -81,6 +73,14 @@ if [ -f $HOME/.cargo/env ]; then
source "$HOME/.cargo/env"
fi
+# ==== NVM config
+# node version manager from homebrew ,the source line to move install location
+# and prevent Node installs being lost upon upgrading nvm.
+if [ -d $HOME/.nvm ]; then
+ export NVM_DIR=~/.nvm
+ source $(brew --prefix nvm)/nvm.sh
+fi
+
# ==== MISC config
if command -v thefuck 1>/dev/null 2>&1; then
# allow fuck to be alias of thefuck
diff --git a/Brewfile b/Brewfile
index 64f8e17..087bb2e 100644
--- a/Brewfile
+++ b/Brewfile
@@ -2,6 +2,8 @@ tap "homebrew/services"
brew "bash"
brew "bash-completion"
+brew "fortune"
+brew "cowsay"
brew "ctags"
brew "cmake"
brew "git"
@@ -10,20 +12,18 @@ brew "gpg"
brew "pass"
brew "pass-otp"
brew "pinentry-mac"
-brew "ruby-build"
-brew "rbenv"
-brew "pyenv"
brew "vim"
brew "thefuck"
brew "the_silver_searcher"
-brew "fortune"
-brew "cowsay"
brew "htop"
brew "openssl"
brew "tmux"
brew "youtube-dl"
-brew "tree"
brew "reattach-to-user-namespace"
+# brew "ruby-build"
+# brew "rbenv"
+# brew "pyenv"
+# brew "goenv"
# brew "nvm"
# brew "yarn"
# brew "postgresql"
@@ -42,6 +42,7 @@ brew "wifi-password"
# brew "packer"
# brew "hydra"
# brew "docker-clean"
+# brew "tree"
tap "wtfutil/wtfutil"
brew "wtfutil"
diff --git a/README.md b/README.md
index 171a9d1..f37efeb 100644
--- a/README.md
+++ b/README.md
@@ -138,6 +138,14 @@ rbenv install $(cat ~/.rc/.rbenv/version)
ln -sf ~/.rc/.rbenv/version ~/.rbenv/version
```
+- Setup python
+```bash
+brew install pyenv
+mkdir -p ~/.pyenv
+pyenv install $(cat ~/.rc/.pyenv/version)
+ln -sf ~/.rc/.pyenv/version ~/.pyenv/version
+```
+
- Setup GO
```bash
git clone https://github.com/syndbg/goenv.git ~/.goenv
@@ -161,14 +169,6 @@ nvm install
nvm alias default
```
-- Setup python
-```bash
-brew install pyenv
-mkdir -p ~/.pyenv
-pyenv install $(cat ~/.rc/.pyenv/version)
-ln -sf ~/.rc/.pyenv/version ~/.pyenv/version
-```
-
## Tools
- Git Crypt