Skip to content

Instantly share code, notes, and snippets.

@condotti
Created March 1, 2011 09:14
Show Gist options
  • Save condotti/848874 to your computer and use it in GitHub Desktop.
Save condotti/848874 to your computer and use it in GitHub Desktop.
PowerShell.elでパスに漢字を使えるようにする (powershell-hookが無いのでdefadvice)
(defadvice powershell (after process-coding-system activate)
(mapc #'(lambda (process)
(if (eq (process-buffer process) (current-buffer))
(set-process-coding-system process 'sjis-dos 'sjis-dos)))
(process-list)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment