Skip to content

Instantly share code, notes, and snippets.

@LazyRen
Last active April 9, 2020 10:37
Show Gist options
  • Save LazyRen/392dd440c399bfdc94957cdfb49b7099 to your computer and use it in GitHub Desktop.
Save LazyRen/392dd440c399bfdc94957cdfb49b7099 to your computer and use it in GitHub Desktop.
Windows Development Settings (MSYS2 & hyper)
// Visual Studio Code
https://code.visualstudio.com/Download
// download 'Settings Sync' extension
// in settings.json (for MSYS2 & Hyper)
"terminal.external.windowsExec": "C:\\Users\\LazyRen\\AppData\\Local\\hyper\\Hyper.exe",
"terminal.integrated.shell.windows": "C:\\msys64\\msys2_shell.cmd",
"terminal.integrated.shellArgs.windows": ["-mingw64", "-defterm", "-no-start", "-full-path"],
"terminal.integrated.env.windows": {"HOME": "C:\\Users\\LazyRen\\dev"},
// Git
https://git-scm.com/downloads
// MSYS2
https://www.msys2.org/
// pacman -Syu
// restart terminal
// pacman -Su
// pacman -S --needed base-devel mingw-w64-x86_64-toolchain git subversion mercurial mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc make
// add below PATH to the windows path
// C:\msys64\usr\bin;C:\msys64\mingw32\bin;C:\msys64\mingw64\bin
// add to ~/.bash_profile to remove 'MINGW64' from the prompt
export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\] '
// Hyper Terminal
https://hyper.is/#installation
// Hyper Setting
shell: 'C:\\msys64\\msys2_shell.cmd',
shellArgs: [
'-mingw64',
'-defterm',
'-no-start',
'-full-path'
],
env: {
HOME: "C:\\Users\\LazyRen\\dev"
},
...
plugins: [
'hyper-one-dark',
'hyper-tab-icons',
'hypercwd',
'hyperterm-tabs'
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment