/setup-config-files

An easy way to setup my personal settings for terminal and xcode

Primary LanguageShell

Setup Config Files

An easy way to setup my personal settings for terminal and xcode

Previous requirements

Terminal

  1. Install oh-my-zhs
  2. Install powerlevel9k theme or anyone that you want
  3. Open .zhsrc file and replace their content with .terminal-files/zhsrc from this repo
  4. DO NOT FORGET Replace USER-NAME with your user name at export ZSH="/Users/USER-NAME/.oh-my-zsh" in .zhsrc file
  5. Download Hack font from Nerd fonts or any other font that you want
  6. Open terminal preferences and (cmd + ,)
  7. Go to profiles
  8. Select add profile
  9. Import terminal-files/dark-colorful.terminal profile and select as your default
  10. Select Hack Regular Nerd Font as default terminal font
  11. Close and restart the terminal to see the changes

Xcode

Codesnippets

  1. Download xcode-files/codesnippets files or any other that you want
  2. Open ~/Library/Developer/Xcode/UserData/CodeSnippets/
  3. Add your new snippets inside that folder
  4. Close and restart Xcode

Sounds

  1. Download xcode-files/sounds files or any other that you want
  2. Open Xcode
  3. Open Xcode Behaviors
  4. Add one sound for any behaviour that you want

Theme

  1. Download xcode-files/themes from this repo
  2. open /Applications/Xcode.app/Contents/SharedFrameworks/DVTUserInterfaceKit.framework/Versions/A/Resources/FontAndColorThemes
  3. Add dark-colorful.xccolortheme theme there
  4. Select your new theme in Xcode
  5. If you don't see your new theme in xcode just open one of the default xcode themes in any text editor and replace the content with your custom theme

Git setup

git config --global user.name "_user name_"
git config --global user.email "_user email_"
git config --global core.editor "nano"

Alias

git config --global alias.br branch
git config --global alias.st status -sb
git config --global alias.lgs log --graph
git config --global alias.lga log --graph --author
git config --global alias.lg log --oneline --decorate --all --graph