diff --git a/init.vim b/init.vim index 6dd8739..0f336ec 100644 --- a/init.vim +++ b/init.vim @@ -10,7 +10,7 @@ "=============================================================" "load config path -exec 'source ' . expand(':p:h') . '/local/path.vim' +let g:darkcloudpath = expand(':p:h') "add config directory: (distro-agnostic system-wide) let &runtimepath = printf("%s,%s/vim,%s/local", &runtimepath, g:darkcloudpath, g:darkcloudpath) diff --git a/update b/update index bd56269..6da3c84 100755 --- a/update +++ b/update @@ -13,7 +13,6 @@ # user_vim_config=local/user.vim -path_config=local/path.vim local_bundle_dir=local/bundle error_log=update-errors.log @@ -125,9 +124,6 @@ printf '\n%s\n' "$cbg_black ~~~ DarkCloud Neovim Config Update Tool ~~~ $c_reset fi } -# create or update path.vim -printf '%s\n' "let g:darkcloudpath = \"$(readlink -f "$script_home")\"" > "$path_config" - # create user.vim if it doesn't exist [[ -e "$user_vim_config" ]] || { printf '\n%s' "$cbg_blue >> Creating user config file:$c_reset"