Configure Windows for Development

Environment Variables I still use some development tools that are used by most Linux users and these tools need some environment variables like LC_ALL, HOME, etc. When I have a new PC with Windows 10, I start to use with defining these variables. Take a look at this post for more detail. PowerShell Core It’s possible to use BASH on Windows indeed, but I think PowerShell Core is a good alternative. Git integration is working well, defining aliases and functions is easy: ...

March 16, 2019 · 2 min

Important Windows Environment Variables

PowerShell and Git encoding problems To make git log command output properly display on Windows, we need to set a variable named LC_ALL: LC_ALL="C.UTF-8" Incorrect home folder in Emacs This problem is not only about Emacs. If you try to find a file from HOME variable, you may need to define the variable first: HOME="%USERPROFILE%" ;; place all backup files in one directory (setq backup-directory-alist `((".*" . ,temporary-file-directory))) (setq auto-save-file-name-transforms `((".*" ,temporary-file-directory t))) (setq default-directory (concat (getenv "HOME") "/Workspace")) More.. Take a look at the other posts about my Windows development environment. ...

December 25, 2018 · 1 min