Show More
@@ -56,7 +56,7 b' if (($ed -eq "vim") -or ($ed -eq "emacs"' | |||||
56 | $linearg = "+$firstline" |
|
56 | $linearg = "+$firstline" | |
57 | } |
|
57 | } | |
58 |
|
58 | |||
59 | Start-Process -Wait $ed $linearg,$file |
|
59 | Start-Process -Wait -NoNewWindow $ed $linearg,$file | |
60 | $previousline = $firstline |
|
60 | $previousline = $firstline | |
61 | $lines = Get-Lines |
|
61 | $lines = Get-Lines | |
62 | $firstline = if ($lines.Length -gt 0) { $lines[0] } else { $nil } |
|
62 | $firstline = if ($lines.Length -gt 0) { $lines[0] } else { $nil } |
General Comments 0
You need to be logged in to leave comments.
Login now