My Shell Config On Windows For 2022

Curious software engineer
Search for a command to run...

Curious software engineer
No comments yet. Be the first to comment.
In this series, I will treat subjects related to software development, software engineering, and related career.
In June 2007, at the end of the school year, I got the opportunity to apply to the most prestigious software engineering schools in France. A bit of context, diplomas are different in France. I was somehow in a Bachelor in Computer Science degree at...
It’s the summer holidays, after all. So I wanted to spent some time with my 7 years old daughter to teach her programming. ⌨️ I spent some time before discussing with her some of the basics concept verbally: the different parts of a computer, and bas...

This article is a follow up on my previous one introducing the concept of SE Spectrum: https://sonny.alvesdi.as/a-better-way-to-discuss Existing solutions For long, the easiest way to run a spectrum was to use visual drawing or diagram tools like ...

Introduction to SE Spectrum

One of the greatest tool available on GitHub is Dependabot. For those not familiar with it, in short it's a bot reviewing your list of dependencies and proposing PRs to update them. https://docs.github.com/en/code-security/getting-started/dependabot-...

Photo by Harli Marten on Unsplash As long as I remember I have always been interested by skepticism. And I think one element that really resonated with me has been that conference talk by Phil Plait: https://www.youtube.com/watch?v=FrFRbGjUtJk 15 ...

Last year I wrote an article about my shell config for 2021.
I am renewing the operation this year, and to be straightforward with you
Alacritty is nice, but in daily life there were a lot of frictions (that are maybe fixed by now TBH) especially for copy/pasting string into the shell. Also, IIRC no tabs or such.
I switched to Hyper! It's an electron-based terminal made by Vercel, the company that offers this platform to greatly ease the deployment of an app. I recommend Vercel and glitch.com also if you want to deploy a small or website easily.
Download link: https://hyper.is/
To make Hyper work with the usual Git Bash, I changed that line in the configuration:
shell: 'C:\\Program Files\\Git\\bin\\bash.exe',
And to directly copy selected text to clipboard, I changed that line to true:
copyOnSelect: true,
I didn't change much more aside the font.
Last year I recommended Fira Code. This year I would recommend you Monoid an open source coding font, more details there: https://larsenwork.com/monoid/
~/.bashrc: alias docker='MSYS_NO_PATHCONV=1 docker'
That will allow you to do things like: docker exec -ti ${CONTAINER} /bin/bash directly from Git Bash. vi or CTRC+C will quit the entire ssh session. Add the following line in your ~/.bashrc as well, and it will fix it.export MSYS=enable_pcon