Don't use hardcoded home

This commit is contained in:
Julian Ospald 2020-10-18 23:11:23 +02:00
parent 0e66131107
commit 005a3f1c1f
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 5 additions and 5 deletions

10
vimrc
View File

@ -21,18 +21,18 @@ if &compatible
endif
" Required:
set runtimepath+=/home/jule/.cache/dein/repos/github.com/Shougo/dein.vim
set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim
let s:toml = '/home/jule/.vim/plugins.toml'
let s:toml = $HOME . '/.vim/plugins.toml'
" Required:
if dein#load_state('/home/jule/.cache/dein')
call dein#begin('/home/jule/.cache/dein', ['/home/jule/.vim/vimrc', '/home/jule/.vim/plugins.toml'])
if dein#load_state($HOME . '/.cache/dein')
call dein#begin($HOME . '/.cache/dein', [$HOME . '/.vim/vimrc', $HOME . '/.vim/plugins.toml'])
call dein#load_toml(s:toml)
" Let dein manage dein
" Required:
call dein#add('/home/jule/.cache/dein/repos/github.com/Shougo/dein.vim')
call dein#add($HOME . '/.cache/dein/repos/github.com/Shougo/dein.vim')
" Required:
call dein#end()