Although I had spent a lot of time on the command line at age 12 to get Quake 3 and my Nvidia Geforce graphics card running on Linux, this tool was completely forgotten during my adolescence. I worked with Windows – and sometimes DOS – but basically with a GUI. For some years now, the command line has celebrated an unexpected comeback in my life as a historian of technology and computer scientist. Without it, I did not want to be anymore. 🥰
Set up my favourite shell ZSH
Install zsh
on macOS using Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install zsh
Install oh my zsh, zsh-autosuggestions, zsh-completions and zsh-syntax-highlighting
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
configure it using nano (or vim)
nano ~/.zshrc
make it look like this
for Linux comment brew
and osx
and uncomment debian
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
brew
composer
# debian
gem
git
bundler
docker
dotenv
macos
pip
python
rake
rbenv
ruby
rsync
zsh-autosuggestions
zsh-completions
zsh-syntax-highlighting
)
Now learn to use it with the Missing Semester