Skip to content

Commit

Permalink
🔨refactor:
Browse files Browse the repository at this point in the history
  • Loading branch information
utubo committed Dec 5, 2024
1 parent d610435 commit 26f9b03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .vim/autoload/vimrc/lazyload.vim
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def A()
const a = has('win32') ? '~/_vimrc' : '~/.vimrc'
const b = a->expand()->resolve()->fnamemodify(':h')
const c = getcwd()
exe 'cd' b
chdir(b)
ec system($'git pull')
exe 'cd' c
chdir(c)
exe $'source {has('win32') ? '~/vimfiles' : '~/.vim'}/autoload/vimrc/ezpack.vim'
EzpackInstall
enddef
Expand Down
4 changes: 2 additions & 2 deletions src/.vim/autoload/vimrc/lazyload.src.vim
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ def PullDotfiles()
const vimrcpath = has('win32') ? '~/_vimrc' : '~/.vimrc'
const dotfilespath = vimrcpath->expand()->resolve()->fnamemodify(':h')
const cwd = getcwd()
execute 'cd' dotfilespath
chdir(dotfilespath)
echo system($'git pull')
execute 'cd' cwd
chdir(cwd)
execute $'source {has('win32') ? '~/vimfiles' : '~/.vim'}/autoload/vimrc/ezpack.vim'
EzpackInstall
enddef
Expand Down

0 comments on commit 26f9b03

Please sign in to comment.