Skip to content

Collection of Shell program configurations, preferences, and utilities

Notifications You must be signed in to change notification settings

HeroCC/dotfiles

Repository files navigation

HeroCC's Dotfiles

Hello! This respository is a compilation of many of my configs and dotfiles

Update & Install

$ git clone git://github.com/HeroCC/dotfiles.git ~/.dotfiles && cd ~/.dotfiles

This clones the respository, and CDs into it

Recommended: Using Ansible (Current)

To install using Ansible (recommended), first ensure you have ansible installed:

$ brew install ansible  # macOS
$ pip install ansible   # Linux/other

Then run the ansible playbook:

$ ./run-ansible.sh

You can run specific tasks using tags:

$ ./run-ansible.sh packages        # Install packages only
$ ./run-ansible.sh links           # Create symlinks only
$ ./run-ansible.sh macos_defaults  # Apply macOS settings only

Legacy: Using install.sh

The old install.sh script is deprecated but still available:

$ ./install.sh

If you want to do it manually, then follow the instructions below...

Please note, the manual instructions may be out of date. Use your best judgement!


Setup:

ZSH:

This particular setup uses a combination of, oh-my-zsh and ze-best-zsh-config

$ ln -s ~/.dotfiles/zsh ~/.zsh
$ ln -s ~/.dotfiles/zsh/zshrc ~/.zshrc
$ ln -s ~/.dotfiles/zsh/zshenv ~/.zshenv

GIT:

$ ln -s ~/.dotfiles/git/gitconfig ~/.gitconfig
$ ln -s ~/.dotfiles/git/gitignore_global ~/.gitignore_global

SCREEN:

$ ln -s ~/.dotfiles/screen/screenrc ~/.screenrc

SSH:

$ ln -s ~/.dotfiles/ssh/config ~/.ssh/config

GEM:

$ ln -s ~/.dotfiles/gem/gemrc ~/.gemrc

Sublime Text (3):

This may be different on a Mac

$ mv ~/.config/sublime-text-3/Packages/User ~/.dotfiles/sublimetext/User
$ cd ~/.config/sublime-text-3/Packages/
$ ln -s ~/.dotfiles/sublimetext/User User

VIM:

$ ln -s ~/.dotfiles/vim ~/.vim
$ ln -s ~/.dotfiles/vim/vimrc ~/.vimrc
$ ln -s ~/.dotfiles/vim/gvimrc ~/.gvimrc

TMUX:

$ ln -s ~/.dotfiles/tmux/tmux.conf ~/.tmux.conf

Thanks

About

Collection of Shell program configurations, preferences, and utilities

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published