Last week at work I got a new project on .NET Framework. As a good developer I tried to run it on Linux using .NET Core but I failed and my work's laptop didn't had Windows installed, what could I do?.
So, I went running with the tech support area, told them the problem and after some research the only solution was: delete Linux, install Windows and install Linux again.
Fucking Windows. 😡
But that inspired to me to write this post.
This is what I consider a good environment to develop quick, easy and be coolest in the office. Don't judge me!
P.S.: I'm using Ubuntu 18.04 because why not? I had Fedora 27 before eveything happened and it's still my favorite but I will give Ubuntu a try again.
Let's get started!
We need the basics, you will suffer if you don't have them:
sudo apt-get update sudo apt-get install build-essential git curl xclip
Zsh (also called Z shell) is an extended version of the Bourne Shell (sh). It has many cool features against original bash:
- Plugin and theme support
- Spelling correction
- Automatic cd
- And more!
Just install it with the follow command:
sudo apt-get install zsh
Now we have a good shell, great. But Oh My Zsh will give us extra power:
Then, just copy the follow command:
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
And you will get this:
If you restart your terminal it will be using bash again. Why? because you need to change it explicitly with the follow command:
# Change the shell to zsh chsh -s `which zsh`
The bad thing is that you need to restart your computer 🙄.
# WARNING! It will shutdown immediately :( sudo shutdown -r 0
But after rebooting this will be the result 😍:
It's time to get into hacker mode 👨💻 :
In my experience, working with vim has been the best idea ever because:
- It's lightweight
- It's everywhere (even on Window's Git bash)
- I feel that I write code faster
- Don't even use the touchpad (or mouse)
- I'm forced to learn things such as package names and understand they purpose
- Syntax highlight for many programming languages
- Shortcuts as Sublime Text or Visual Code Studio
So, why don't you give it a try?
sudo apt-get install vim
This is the end for the part 1 😋.
In the next post I will cover:
- Configure vim and add steroids
- Fixing some vim weird errors
- Mastering vim
See you on the next post!