Skip to content

Commit

Permalink
coverts off of nvm to nodenv
Browse files Browse the repository at this point in the history
  • Loading branch information
theClarkSell committed Jan 13, 2019
1 parent 3bc3f1b commit 462c3b8
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,12 @@
[submodule "fonts/powerline"]
path = fonts/powerline
url = https://github.com/powerline/fonts.git
[submodule "nodenv/plugins/node-build"]
path = nodenv/plugins/node-build
url = https://github.com/nodenv/node-build.git
[submodule "nodenv/plugins/nodenv-package-rehash"]
path = nodenv/plugins/nodenv-package-rehash
url = https://github.com/nodenv/nodenv-package-rehash.git
[submodule "nodenv/plugins/nodenv-update"]
path = nodenv/plugins/nodenv-update
url = https://github.com/nodenv/nodenv-update.git
9 changes: 7 additions & 2 deletions install.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,20 @@
"force": true,
"path": "git/gitconfig"
},

"~/.gitignore": "git/gitignore",
"~/.zshrc": "zsh/zshrc",
"~/.antigenrc": "zsh/antigenrc"
"~/.antigenrc": "zsh/antigenrc",

"~/.nodenv/plugins": "nodenv/plugins"
}
},
{
"shell": [
["git submodule update --init --recursive", "updating submodules"],
["./fonts/powerline/install.sh", "installing Powerline Fonts"]
["./fonts/powerline/install.sh", "installing Powerline Fonts"],
["nodenv update", "updating nodenv"],
["nodenv package-hooks install --all", "installing nodenv package hooks"]
]
}
]
1 change: 1 addition & 0 deletions nodenv/plugins/node-build
Submodule node-build added at 5dc71b
1 change: 1 addition & 0 deletions nodenv/plugins/nodenv-package-rehash
Submodule nodenv-package-rehash added at 340f65
1 change: 1 addition & 0 deletions nodenv/plugins/nodenv-update
Submodule nodenv-update added at 065e98
6 changes: 5 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ assumes `homebrew` and `git` are already installed.

```bash
https://github.com/csell5/dotfiles.git;
brew install zsh zsh-completions antigen;
brew install zsh zsh-completions antigen nodenv;
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)";
cd ./dotfiles;
./install
Expand Down Expand Up @@ -52,4 +52,8 @@ git submodule add --force https://github.com/airblade/vim-gitgutter.git vim/bund
git submodule add --force https://github.com/tpope/vim-repeat.git vim/bundle/vim-repeat;
git submodule add --force https://github.com/tpope/vim-surround.git vim/bundle/vim-surround;
git submodule add --force https://github.com/itchyny/lightline.vim.git vim/bundle/lightline;
git submodule add --force https://github.com/nodenv/node-build.git nodenv/plugins/node-build;
git submodule add --force https://github.com/nodenv/nodenv-package-rehash.git nodenv/plugins/nodenv-package-rehash;
git submodule add --force https://github.com/nodenv/nodenv-update.git nodenv/plugins/nodenv-update;

```
3 changes: 0 additions & 3 deletions zsh/antigenrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ antigen bundle zsh-users/zsh-syntax-highlighting
# Fish-like auto suggestions
antigen bundle zsh-users/zsh-autosuggestions

# NVM https://github.com/lukechilds/zsh-nvm
antigen bundle lukechilds/zsh-nvm

antigen theme denysdovhan/spaceship-prompt

# apply bundles
Expand Down
8 changes: 5 additions & 3 deletions zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="/Users/csell5/.oh-my-zsh"
export NVM_AUTO_USE=true
export ZSH="$HOME/.oh-my-zsh"
# export NVM_AUTO_USE=true

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
Expand Down Expand Up @@ -69,7 +69,6 @@ plugins=(

source $ZSH/oh-my-zsh.sh


# User configuration

# antigen loaded
Expand Down Expand Up @@ -106,3 +105,6 @@ antigen init $HOME/.antigenrc

# initalize completions
fpath=(/usr/local/share/zsh-completions $fpath)

# loads nodenv
eval "$(nodenv init -)"

0 comments on commit 462c3b8

Please sign in to comment.