If anyone is interested, having GnuWin32 installed, I also include the following in my powershell profile: remove-item alias:rm The -force argument is required because Powershell is quite precious about this particular inbuilt alias. edit %USERPROFILE%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1Īdd the line remove-item alias:diff -force.The solution for anyone looking for a sane output is For another, the difference indicator is on the right, far from the content - it's a readability nightmare. For one thing, you have to hold it's hand in actually reading files (with gc / get-content). As others have noted, if you were expecting a unix-y diff output, using the powershell diff alias would let you down hard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |