Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Pimp my terminal

Pimp my terminal

My tips and tricks presentation for unix day at DEIUC, Coimbra

Miguel Laginha

November 04, 2015
Tweet

More Decks by Miguel Laginha

Other Decks in Programming

Transcript

  1. | Summary • Premisses • Terminal vs iTerm2 • Bash

    vs Zsh vs fish shell • Pimpin' time • Tips and tricks
  2. Shell options $ Bash # default $ Zsh # awesome

    $ Fish shell # so awesome it hurts
  3. # first and foremost $ ruby -e "$(curl -fsSL https://

    raw.githubusercontent.com/Homebrew/install/ master/install)"
  4. # use homebrew to install zsh $ brew install zsh

    $ chsh -s `which zsh` $ vim ~/.zshrc # hack away
  5. # Zsh syntax highlighting $ cd ~/.oh-my-zsh && git clone

    git:// github.com/zsh-users/zsh-syntax- highlighting.git $ source ~/.oh-my-zsh/zsh-syntax- highlighting/zsh-syntax-highlighting.zsh
  6. # Z $ brew install z $ . `brew —prefix`/etc/profile.d/z.sh

    # outdated! Z is now a oh-my-zsh plugin
  7. $ say “This is probably useless” $ brew update &&

    brew upgrade && say “finished brewing”