mirror of
https://github.com/Baipyrus/dotfiles.git
synced 2024-12-25 02:41:45 +00:00
bugfix: parent of file is directory property
This commit is contained in:
parent
878db9489b
commit
7c86d72ece
@ -178,7 +178,7 @@ function InstallNerdFont
|
||||
|
||||
$fileName = [System.IO.Path]::GetFileNameWithoutExtension($source)
|
||||
$parent = Get-ChildItem $source | `
|
||||
Select-Object -ExpandProperty Parent | `
|
||||
Select-Object -ExpandProperty Directory | `
|
||||
Select-Object -ExpandProperty FullName
|
||||
$destination = "$parent\$fileName"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user