Skip to content

Commit

Permalink
Quote file path for nano editor (#243)
Browse files Browse the repository at this point in the history
- Fixes part of #242
  • Loading branch information
kelleyma49 authored Jan 21, 2024
1 parent 7e7f5f9 commit b5bc50e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PSFzf.Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function Get-EditorLaunch() {
"$editor$editorOptions {0}" -f ($FileList -join ' ')
}
else {
"$editor$editorOptions +{1} {0}" -f $(Resolve-Path $FileList.Trim('"')), $LineNum
"$editor$editorOptions +{1} ""{0}""" -f $(Resolve-Path $FileList.Trim('"')), $LineNum
}
}
}
Expand Down

0 comments on commit b5bc50e

Please sign in to comment.