lakruzz / MacAsCode

Configuring my Mac to the state I like it, coming from nowhere, using only executable code from this repo
1 stars 2 forks source link

Oh My Zsh #46

Open lakruzz opened 6 years ago

lakruzz commented 6 years ago

Related to the oh-my-zsh install

---
installs:
  - module:  shell
    shell: sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
    parameters:
      creates:    ~/.oh-my-zsh/oh-my-zsh.sh

  - module: lineinfile
    parameters:
      path:   ~/.zshrc
      state:  present
      regexp: ^ZSH_THEME=".*
      line:   ZSH_THEME="agnoster"
      backup: yes

  - module: homebrew_cask
    parameters:
      name:   font-roboto-mono-for-powerline
      state:  present

  - module: homebrew
    parameters:
      name:   zsh
      state:  latest

  - module: homebrew_tap
    parameters:
      name:   caskroom/fonts

  - module: homebrew
    parameters:
      name:   bash-completion
      state:  latest

The startup profile needs to be set, and the fonts changed:

lakruzz commented 6 years ago

To use Pro:

defaults write com.apple.Terminal 'Startup Window Settings' -string 'Pro'
defaults write com.apple.Terminal 'Default Window Settings' -string 'Pro'

Will only take effect after Terminal is killed, and reopened