Skip to content

Latest commit

 

History

History
82 lines (50 loc) · 3.56 KB

README.md

File metadata and controls

82 lines (50 loc) · 3.56 KB

dotfiles

Home is where the dotfiles are.

Installation

  1. Clone the repository in some directory:

    git clone https://github.com/niksy/dotfiles.git ~/.dotfiles
  2. Enter the directory where you’ve cloned dotfiles and run install script with link argument:

    sh dotfiles link

    The script will symlink/copy all the necessary files to ~ directory. Follow instructions after the job is done.

  3. To remove created symlinks and/or remove copied files, run same install script inside dotfiles directory, but with unlink argument:

    sh dotfiles unlink

Custom options

.extra and .gitconfig_extra can be used to add custom commands without the need to change core files or to add the commands you don’t want to commit to a public repository (e.g. company related information). You put them inside your ~ directory.

.macos_extra file contains some modifications for installed packages and applications.

Terminal display

.bash_prompt and everything related to coloring of display is customized to work with Solarized Light theme (specifically, fork by @tomislav). You can find my current macOS terminal preferences inside .init directory. Typeface in the screenshot is Consolas.

macOS defaults

These are some macOS defaults I use, but larger collection can be found in .macos defaults by Mathias Bynens and in the comments at the top of the file in my repository.

Run the supplied install script with following command (remember, this will work only on macOS):

source ~/.dotfiles/.macos

Homebrew

Installing Homebrew will save your sanity while trying to install packages not available by default on macOS.

If you want the same control for standard macOS apps, try using Homebrew Cask.

Automatic package installation can be done with .brew script. This will install standard and binary (Cask) packages.

~/.dotfiles/.brew

CLI tools

Before installing Homebrew, you should install Xcode CLI Tools.

If you’re on Mavericks, simply enter xcode-select --install inside Terminal window and follow instructions.

If you’re on earlier version of macOS, log in to Apple Developer page and find Command Line Tools package (not the whole Xcode).

To verify that CLI tools are installed, check version of some CLI-tools-provided tool, e.g. gcc, via gcc --version. If everything is OK, you should see GCC version in your Terminal screen.

Acknowledgements

The code was taken from many sources and used dotfiles by Mathias Bynens as starting point.

Other sources and inspiration include: