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

10
vimrc
View File

@ -21,18 +21,18 @@ if &compatible
endif endif
" Required: " 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: " Required:
if dein#load_state('/home/jule/.cache/dein') if dein#load_state($HOME . '/.cache/dein')
call dein#begin('/home/jule/.cache/dein', ['/home/jule/.vim/vimrc', '/home/jule/.vim/plugins.toml']) call dein#begin($HOME . '/.cache/dein', [$HOME . '/.vim/vimrc', $HOME . '/.vim/plugins.toml'])
call dein#load_toml(s:toml) call dein#load_toml(s:toml)
" Let dein manage dein " Let dein manage dein
" Required: " 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: " Required:
call dein#end() call dein#end()