The time has finally come to try zsh after observing a few of my colleagues doing some fancy things on their terminals. Installation The following section contains instruction on how I set up my home computer and my work laptop. Gentoo To install on my Gentoo system: emerge -av app-shells/zsh app-shells/gentoo-zsh-completions Make it permanent chsh --shell /bin/zsh Enable global auto completion by adding zsh-completion to USE in /etc/portage/make.conf and rebuild emerge -auN @world Mac To install on my Mac: brew install zsh zsh-completions Make it permanent First, add /usr/local/bin/zsh to /etc/shells, then: chsh -s /usr/local/bin/zsh Oh My Zsh Now that we have ZSH installed it is time to tailor it to our needs.
This is a collection of commands I use fairly regularly, but sometimes forget. Docker Delete all not running containers docker rm $(docker ps -q -a) Delete all running containers docker rm -f $(docker ps -q -a) Delete all images docker rmi -f $(docker images -q -a) Delete dangling volumes and images docker volume rm $(docker volume ls -q -f "dangling=true") ; docker rmi $(docker images -q -f "dangling=true") Modify a