Dev Tools S01E01 : Z – Jump around

EDIT : The install method on Zsh + Oh my ZSH updated to prevent z_dirs:2: no such file or directory: /home/$USER/.z . Thanks to GAD3R for his reply to my answer here.

Howdy people,

So I’m starting this new blog post series called Dev Tools on which i’ll be going through some tools that I find useful and that can make developer’s life easier. This first episode is going to be about a command line tool called Z – Jump around  or just z. I’m not sure but the name may refer to a bunny’s leg which is shaped as a Z .

A scared bunny escaping !

This command line tool records every directory accessed then keeps a list of the most recent/frequent (“frecent” is the word used by its creator) paths you’ve been on. The recorded paths can then be accessed by a relatively short command line. Let’s take a look on how it works.

Cool right ? And if you try to run it without any parameter, you’ll get the list of recorded directories, every record has a rank that determines its frequency.

For more advanced usage, you can check the README file.

How to install

Download the script wget

Using bash ?

  • Run printf "\n\n#initialize Z ( \n. ~/ \n\n" >> .bashrc
  • Reload the shell source ~/.bashrc

Using zsh (without Oh My Zsh) ?

  • run printf "\n\n#initialize Z ( \n. ~/ \n\n" >> .zshrc
  • Reload the shell source ~/.zshrc

Using zsh + Oh My Zsh ?

This is my personal favourite setup ! (learn how to get it up and running here).

All you need to do is add z to the plugins list in ~/.zshrc.


Download the z script to your home directory:

wget -O ~/.z


source ~/.zshrc

That’s it 🙂 hope this will make your life a bit easier and see you soon for the second episode.


Get paid jetbrains products for free (legally!)


One of my all time favourite IDEs out there is IntelliJ (and any IDE based on it such as WebStorm and PhpStorm). The only problem with these products is that they are not free, at least for the ultimate version.

When I was a student, I had access to the free educational licence. But once I graduated from university (yay!) and joined a company as a software engineer, I had two option ; pay for a monthly/yearly subscription or find a workaround to still get it for free. That’s where I remembered something from a screencasts by Jeffrey Way I’ve watched a while ago “How to be awesome in phpstorm”, EAP.

Every JetBrains’ EAP product

What is Early Access Program?

We at JetBrains believe that making tools for developers should greatly involve listening to developers. Our Early Access Program lets development community closely participate in discussions devoted to our products and influence development planning, from early stages onwards. Early Access Program allows you to try pre-release versions of our software to evaluate features that will be added to the next release.

Basically, you can see the EAP as more or less of a “stable” pre-release of the ultimate version.