Pimp my terminal

Pimp my terminal

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

5943abec14734639dd5ad75e437639d3?s=128

Miguel Laginha

November 04, 2015
Tweet

Transcript

  1. Pimp my terminal A tale of how I reached satisfactory

    console karma
  2. $ whoami • Software engineer • /home/dei2001/mmachado • sciencematters.io •

    Previously 9y @IPNlis • g ‘miguel laginha’
  3. | Summary • Premisses • Terminal vs iTerm2 • Bash

    vs Zsh vs fish shell • Pimpin' time • Tips and tricks
  4. Why are $(we) here?

  5. “terminal” indeed.com job trends

  6. “cloooouuuuud” indeed.com job trends

  7. “PaaS” indeed.com job trends

  8. “docker” indeed.com job trends

  9. Which terminal app to use?

  10. None
  11. None
  12. Which shell? ps -o comm $$

  13. Shell options $ Bash # default $ Zsh # awesome

    $ Fish shell # so awesome it hurts
  14. Let’s start pimpin’ #copypaste

  15. # first and foremost $ ruby -e "$(curl -fsSL https://

    raw.githubusercontent.com/Homebrew/install/ master/install)"
  16. # plus.. homebrew-cask! $ brew install caskroom/cask/brew-cask

  17. # use homebrew to install zsh $ brew install zsh

    $ chsh -s `which zsh` $ vim ~/.zshrc # hack away
  18. # install oh my zsh $ curl -L http://install.ohmyz.sh |

    sh $ vim ~/.zshrc # hack away
  19. # 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
  20. # Z $ brew install z $ . `brew —prefix`/etc/profile.d/z.sh

    # outdated! Z is now a oh-my-zsh plugin
  21. # Power vim with plugins $ curl -L https://bit.ly/janus-bootstrap |

    bash
  22. # Pimp iTerm2 $ wget https://raw.githubusercontent.com/ chriskempson/tomorrow-theme/master/iTerm2/ Tomorrow%20Night.itermcolors

  23. Tips and tricks #mac

  24. $ open .

  25. $ cat .zshrc | pbcopy $ pbpaste >> .zshrc_backup

  26. $ mdfind -onlyin ~/Documents report

  27. $ say “This is probably useless” $ brew update &&

    brew upgrade && say “finished brewing”
  28. What else? #cool stuff

  29. # curl.io https://curl.io # do it live http://doitlive.readthedocs.org/en/latest/ # ascii

    cinema https://asciinema.org
  30. «Never settle» Productivity matters.

  31. $ Thank you_
 
 @brecke