Use the hostname() call for reading the custom vim files
This commit is contained in:
3
init.vim
3
init.vim
@@ -31,8 +31,7 @@ Plug 'arakashic/chromatica.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
call plug#end()
|
||||
|
||||
" =============Paths=====================
|
||||
echo $HOSTNAME
|
||||
exec "source " . stdpath('config') . "/" . HOSTNAME . ".vim"
|
||||
exec "source " . stdpath('config') . "/" . hostname() . ".vim"
|
||||
" =============Settings==================
|
||||
filetype plugin on
|
||||
filetype indent on
|
||||
|
||||
Reference in New Issue
Block a user