diff --git a/emacs.el b/emacs.el index b6e3335..99d0c60 100644 --- a/emacs.el +++ b/emacs.el @@ -1,5 +1,6 @@ ;; load another file -;; (load-file "~/filepath") +;; (and (file-readable-p "~/.dotfiles/emacs.el") +;; (load-file "~/.dotfiles/emacs.el")) (unless (file-directory-p (expand-file-name user-emacs-directory)) (make-directory (expand-file-name user-emacs-directory))) diff --git a/vimrc b/vimrc index b31d57c..a4cb26f 100644 --- a/vimrc +++ b/vimrc @@ -1,6 +1,6 @@ " load external file -" if filereadable(expand('~/filepath')) -" source ~/filepath +" if filereadable(expand('~/.dotfiles/vimrc')) +" source ~/.dotfiles/vimrc " endif if !isdirectory(expand('~/.vim')) call mkdir(expand('~/.vim'))