summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorn-a11s <nikolaus.athanassiadis@gmail.com>2023-11-03 13:47:30 +0100
committerGitHub <noreply@github.com>2023-11-03 13:47:30 +0100
commit4d2cf48fb6b620a5b4ae30f6b2a0b3b521cdbce8 (patch)
tree53f8d5dd59461771889e48485651c51da954ed87 /README.md
parent99acb843ac9b0470ca5e1a3b0f8561979c5d5e19 (diff)
Update README.md
Added information on where to install if you use Powershell in windows. Since CMD and Powershell work differently. `%userprofile%` only works for the CMD application. `$env:USERPROFILE` works in Powershell.
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9652d70..e2d9ea8 100644
--- a/README.md
+++ b/README.md
@@ -34,7 +34,8 @@ Neovim's configurations are located under the following paths, depending on your
| :- | :--- |
| Linux | `$XDG_CONFIG_HOME/nvim`, `~/.config/nvim` |
| MacOS | `$XDG_CONFIG_HOME/nvim`, `~/.config/nvim` |
-| Windows | `%userprofile%\AppData\Local\nvim\` |
+| Windows (cmd)| `%userprofile%\AppData\Local\nvim\` |
+| Windows (powershell)| `$env:USERPROFILE\AppData\Local\nvim\` |
Clone kickstart.nvim:
@@ -45,10 +46,16 @@ git clone https://github.com/nvim-lua/kickstart.nvim.git "${XDG_CONFIG_HOME:-$HO
```
-# on Windows
+# on Windows (cmd)
git clone https://github.com/nvim-lua/kickstart.nvim.git %userprofile%\AppData\Local\nvim\
```
+```
+# on Windows (powershell)
+git clone https://github.com/nvim-lua/kickstart.nvim.git $env:USERPROFILE\AppData\Local\nvim\
+```
+
+
### Post Installation
Start Neovim