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()
|
call plug#end()
|
||||||
|
|
||||||
" =============Paths=====================
|
" =============Paths=====================
|
||||||
echo $HOSTNAME
|
exec "source " . stdpath('config') . "/" . hostname() . ".vim"
|
||||||
exec "source " . stdpath('config') . "/" . HOSTNAME . ".vim"
|
|
||||||
" =============Settings==================
|
" =============Settings==================
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
filetype indent on
|
filetype indent on
|
||||||
|
|||||||
Reference in New Issue
Block a user