mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 14:51:18 +00:00
fix .vimrc setup to use the right encoding
This commit is contained in:
parent
18aee0c7d1
commit
ebebba1f7a
2
vim.json
2
vim.json
@ -16,7 +16,7 @@
|
||||
"bin": [ "vim.exe", "vimtutor.ps1" ],
|
||||
"post_install": "if(!(test-path ~\\.vimrc)) {
|
||||
cp \"$(split-path(scoop which vim))\\vimrc_example.vim\" ~\\.vimrc
|
||||
echo \"set shell=$((gcm powershell).path)\" >> ~\\.vimrc
|
||||
\"set shell=$((gcm powershell).path)\" | out-file ~\\.vimrc -append -encoding ascii
|
||||
echo '~/.vimrc was created with your shell set to Powershell.'
|
||||
} else { echo '~/.vimrc exists, skipping' }"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user