My wife to-be needed a new computer, so I gave her my 2018 MBP and made use of this opportunity to buy the new M1 MBP 13".

And so I decided it was time to brush up my setup and give it some new look & feel !

Previous Setup

Before that I had a Windows 7 / OpenSuse dual boot on a HP machine I had for school. Nothing very exciting, no IDE and some basic configuration for emacs. Windows was for gaming, what else would you use it for anyways ?

It did get me accustomed to bash and the basics of Linux though. So when I got the Air, I started by downloading VS Code, iTerm2 and stumbled on oh-my-fish. And coming from an almost bare opensuse, that was already mind-blowing. I went on with this configuration for a few years, adding little bits and pieces like JetBrains products, replicating this on my work setups. I did get a Windows computer for work once, BEFORE WSL, it wasn’t a great experience. Thank goodness for cygwin & co.

There goes the next few hours of my life

A quick note on the M1 chip

It’ll be a Rosetta setup for the moment !


What I do is simply add symbolic links with ln -s to the files in my git repository, very practical to have a backup + allows for future ansible coolness 😎

If like me you are running macOS, you’ll first need to install xcode :

$> xcode-select --install

Package manager

I recently discovered homebrew was available on Linux. This is good news, switching to other platforms will be less painful. What I like with Homebrew is that it has a huge list of packages available, from my experience up to date & it doesn’t require sudo.


Like most of the tools I found out about during this journey, I didn’t think they existed ! I landed on Alacritty thanks to Jon Gjengset’s setup video. It’s faster than iTerm2 although the difference is quite subtle. I’ve had a little graphical issue but other than that I’m quite satisfied. If like me you’re a fan of terminal splitting, you’ll need tmux.

tmux is a terminal multiplexer. It allows you to divide your terminal window into multiple sessions. It’ll keep sessions open regardless of Alacritty’s rendering, this way in case of a crash you can pop your session back open. There are lots of features, you should go check the documentation out !

The following snippet automatically attaches you to an existing tmux session on startup, if one exists :

This is Alacritty’s configuration file, it can be placed in multiple locations.

If you don’t know where to start, there is oh-my-tmux, configuration ready for use. There are loads of people with great configs out there on the web, do inspire yourself from them as I did.


I’m planning on giving kitty a shot, it also looks appealing. *EDIT: I did give kitty a shot.

Like Alacritty, it offloads rendering to the GPU. BUT, it feels better and it seems to me that it is faster. It’s also simpler than tmux, it’s ready to use out of the box. And since it supports tiling natively, no need for tmux anymore !


Here’s a list of other terms I’ve used / use / have eyes on for different platforms :







Image for post
Image for post
Latest command suggestion, press TAB or right arrow to autocomplete
Image for post
Image for post
man page parsing for smart autocomplete, TAB for navigation

If you’re new to all of this and feel a bit overwhelmed oh-my-fish and oh-my-zsh can help you out.
I prefer going my own separate way as I like to have control and understanding over my configuration. It does take time though, but it sure is worth it.
*EDIT: I’ve tried oh-my-zsh and it was very slow compared to my setup !

One of the shortcomings of fish in my opinion is that the keyboard mappings predefined overlap with other utilities such as fzf. I’m considering switching to zsh, it’s more bare-bone but I guess it’ll be easier to configure.

*EDIT: I’ve switched to zsh. I do miss smart autocompletion but I’m starting to get used to using fzf for that. I believe with time my workflow will be faster !

Command utilities

  • your command history with Ctrl+R
  • paths with Ctrl+T
  • paths and cd directly to them with Alt+C / Esc+C
  • ssh history with the double star syntax
$> ssh **<TAB>
  • process list with the double star syntax with kill
  • more ?
Image for post
Image for post

bat is, as described by the github repo :

A cat(1) clone with syntax highlighting and Git integration.

Image for post
Image for post
Neat right ? It even shows the git diff !

I also stumbled on fd & ripgrep which are, respectively, like find & grep with better performance. They are often used as replacements to the two older commands in fzf. You can do this by setting the following environment variable FZF_DEFAULT_COMMAND, check the doc & additional ressources below for extra information.

bpytop as a replacement of htop.

exa as a colourful replacement of ls.

hexyl is a colorful command line hex viewer.

jq is very practical for parsing json directly in the command line. Definitely check out the tutorial page, it got me hooked right away !


Simplified and community-driven man pages

bpython as a replacement of the python default interpreter. It is colorful and has autocomplete ! Very nice if like me you use the python interpreter to test out some ideas.

Development setup

For my personal computer, I wanted a fresh setup and thanks to Jon Gjengset I found neovim. As its name states, it’s the new vim. This introduced me to the Language Server Protocol, and I also now have a better understanding of how IDEs work.

Vim/neovim have loads of plugins, so much it can get hard to choose which are actually good for you / don’t have conflicting parameter settings.

I use vim-plug as my plugin manager.

You can scroll up to see the full list of packages I use, here are the nicest imo

  • coc.vim Conquer of Completion, gives a VS Code feel to completion ! It can integrate with a lot of LSPs, you can check if it has support for your language by typing coc + whatever you’re interested in on google.
  • fzf.vim to have fzf in Vim. More on that below.
  • I’m planning on trying vim-fugitive a popular vim git plugin.

You can open files easily with fuzzy search on file names + content with previously mentioned rg command (ripgrep).
First you’ll need to create an Rg command that tells fzf to do a grep search with ripgrep. Here’s what it looks like :

Next Steps

Add a C# configuration. Maybe use this new setup for work ? 😎

I’ll probably do a follow up blog post or update this one after spending some time with this setup. This post is mainly a synthesis of what I learnt looking for new tools to make me more productive as a developper.

Additional ressources

As Vim Diesel said, vimtutor !

Image for post
Image for post
Et voilà !

Written by

Software / Data Engineer. Curious learner. Rust enthusiast 🦀

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store