Skip to content

Instantly share code, notes, and snippets.

View bgopalakrishnan1986's full-sized avatar

Gopalakrishnan B bgopalakrishnan1986

View GitHub Profile
@lnishan
lnishan / windows_console_colors_monokai.reg
Created November 17, 2017 05:01
Monokai theme for Windows console (Bash on Ubuntu on Windows, Windows Subsystem for Linux)
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Console]
; 00BBGGRR, not RGB!
"ColorTable00"=dword:00222827 ; 0 - black
"ColorTable04"=dword:004e06cc ; 1 - dark red
"ColorTable02"=dword:0018ac7a ; 2 - dark green
"ColorTable06"=dword:0045a9f0 ; 3 - dark yellow
"ColorTable01"=dword:00e9C721 ; 4 - dark blue
"ColorTable05"=dword:00ff337e ; 5 - dark magenta
@evanwill
evanwill / gitBash_windows.md
Last active May 13, 2024 04:59
how to add more utilities to git bash for windows, wget, make

How to add more to Git Bash on Windows

Git for Windows comes bundled with the "Git Bash" terminal which is incredibly handy for unix-like commands on a windows machine. It is missing a few standard linux utilities, but it is easy to add ones that have a windows binary available.

The basic idea is that C:\Program Files\Git\mingw64\ is your / directory according to Git Bash (note: depending on how you installed it, the directory might be different. from the start menu, right click on the Git Bash icon and open file location. It might be something like C:\Users\name\AppData\Local\Programs\Git, the mingw64 in this directory is your root. Find it by using pwd -W). If you go to that directory, you will find the typical linux root folder structure (bin, etc, lib and so on).

If you are missing a utility, such as wget, track down a binary for windows and copy the files to the corresponding directories. Sometimes the windows binary have funny prefixes, so