Skip to content

Commit

Permalink
Quote file path for nano editor
Browse files Browse the repository at this point in the history
- Fixes part of #242
  • Loading branch information
kelleyma49 committed Jan 21, 2024
1 parent 7e7f5f9 commit d362166
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 d362166

Please sign in to comment.