From 2348608e888060b9e4c15f9b0f41db0fd2886a5f Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 20 Feb 2020 16:56:54 -0600 Subject: [PATCH] Fix paths to include nimble bins and fix vim config --- apps/neovim/init.vim | 4 ++-- apps/shell/fish/paths.fish | 1 + bin/paths | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/neovim/init.vim b/apps/neovim/init.vim index 685036b..f6e98ba 100644 --- a/apps/neovim/init.vim +++ b/apps/neovim/init.vim @@ -6,8 +6,8 @@ if has('nvim') let $vimdir = $XDG_CONFIG_HOME.'/nvim' endif -if filereadable($ENV_PATH."/vim") - source $ENV_PATH."/vim" +if filereadable("$ENV_PATH/vim") + source "$ENV_PATH/vim" endif call plug#begin($vimdir.'/bundle') diff --git a/apps/shell/fish/paths.fish b/apps/shell/fish/paths.fish index 7d659a9..982b94d 100755 --- a/apps/shell/fish/paths.fish +++ b/apps/shell/fish/paths.fish @@ -10,6 +10,7 @@ set -U fish_user_paths \ $ENV_PATH/.hidden/bin \ $HOME/.bin \ $HOME/.cargo/bin \ + $HOME/.nimble/bin \ $HOME/.yarn/bin test -d $HOME/.local/bin && set -U fish_user_paths $HOME/.local/bin $fish_user_paths diff --git a/bin/paths b/bin/paths index e68e27c..c950a1d 100755 --- a/bin/paths +++ b/bin/paths @@ -7,6 +7,7 @@ PATH="$DOTFILES_PATH/bin":$PATH PATH="$ENV_PATH/bin":$PATH [ -d "$HOME/.bin" ] && PATH=$PATH:"$HOME/.bin" PATH=$PATH:"$HOME/.cargo/bin" +PATH=$PATH:"$HOME/.nimble/bin" PATH=$PATH:"$HOME/.yarn/bin" PATH=$PATH:"$GOPATH/bin" [ -d "$HOME/.local/bin" ] && PATH=$PATH:"$HOME/.local/bin"