Skip to content

Latest commit

 

History

History
63 lines (55 loc) · 3.31 KB

README.md

File metadata and controls

63 lines (55 loc) · 3.31 KB

dotfiles

When configuring my new MacBook Pro 16" I decided to use zsh instead of bash. The main reason was that Apple replaced bash with zsh as the default shell in macOS Catalina.

As I decided to use oh-my-zsh to manage my zsh configuration together with starship as the zsh prompt a .dotfiles repository is not really needed anymore. I could put my .zshrc file under source control but as I'm mostly using the default settings I don't see the benefits (yet). Maybe I will change my mind later when I start experimenting customizing the settings.

Instead this README contains steps to setup a new environment.

  • Install oh-my-zsh
  • Install zsh-syntax-highlighting: brew install zsh-syntax-highlighting
  • Install zsh-autosuggestions: brew install zsh-autosuggestions
  • To activate the syntax highlighting and autosuggestions, add the following to the end of ~/.zshrc:
    source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
    source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
    
  • Install starship: brew install starship
  • Add the following to the end of ~/.zshrc:
    eval "$(starship init zsh)"
    
  • Configure the plugins in ~/.zshrc like:
    plugins=(battery docker docker-compose gcloud git git-flow gradle heroku iterm2 mvn node npm sdk vscode)
    
    See the list of available plugins here
  • Download and install the Fira Code monospaced font
  • Download and install the JetBranins Mono monospaced font
  • Download the Atom One Dark color scheme for Terminal and iTerm2 (a copy is also stored in this repository)
  • Configure the Atom One Dark color scheme in Terminal
  • Configure the JetBrains Mono font in Terminal
  • Download and install the iTerm2 terminal
  • Configure the Atom One Dark color scheme in iTerm2:
    Just save it somewhere and open the file. The color settings will be imported into iTerm2.
    Apply them in iTerm through iTerm → preferences → profiles → colors → load presets.
    
    More iTerm2 color schemes can be found on https://iterm2colorschemes.com/
  • Configure the JetBrains Mono font in iTerm2 (don't forget to set the non-ASCII font as well and to enable the ligatures)
  • Download and install the Hyper terminal
  • Configure the JetBrains Mono font and Atom Dark plugin in Hyper like:
    fontSize: 14,
    fontFamily: '"JetBrains Mono", ..',
    plugins: [
      'hyperterm-atom-dark'
    ],
    

Happy coding!!

Oh, and of course don't forget to install the Aerial screensaver.