Windows with PSDotFiles, nvim symlink

This commit is contained in:
Luka Jankovic 2025-01-26 04:57:32 +01:00
parent b37fcbd18f
commit 96fa7cfaf7
5 changed files with 40 additions and 0 deletions

9
windows/README.md Normal file
View file

@ -0,0 +1,9 @@
# dots2-windows
Dotfiles for Windows managed using [PSDotFiles](https://github.com/ralish/PSDotFiles). Install it using:
```
Install-Module -Name PSDotFiles
$DotFilesPath = $PWD
Install-DotFiles
```

14
windows/metadata/nvim.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Metadata.xsd">
<FriendlyName>Neovim</FriendlyName>
<Detection>
<Method>FindInPath</Method>
<FindInPath>nvim</FindInPath>
</Detection>
<InstallPath>
<SpecialFolder>LocalApplicationData</SpecialFolder>
<Destination>nvim</Destination>
</InstallPath>
</Component>

14
windows/metadata/pwsh.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<Component xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Metadata.xsd">
<FriendlyName>Windows PowerShell</FriendlyName>
<Detection>
<Method>FindInPath</Method>
<FindInPath>powershell</FindInPath>
</Detection>
<InstallPath>
<SpecialFolder>Personal</SpecialFolder>
<Destination>PowerShell</Destination>
</InstallPath>
</Component>

1
windows/nvim Symbolic link
View file

@ -0,0 +1 @@
../nvim

View file

@ -0,0 +1,2 @@
# TODO: Fix path
$DotFilesPath = "$HOME\Documents\dots2\windows"