This repository includes all of my custom dotfiles. They should be cloned to
your home directory so that the path is ~/dotfiles/
. The included setup
script creates symlinks from your home directory to the files which are located
in ~/dotfiles/
.
The setup script is smart enough to back up your existing dotfiles into a
~/dotfiles_old/
directory if you already have any dotfiles of the same name as
the dotfile symlinks being created in your home directory.
I also prefer zsh
as my shell of choice. As such, the setup script will also
clone the oh-my-zsh
repository from my GitHub. It then checks to see if zsh
is installed. If zsh
is installed, and it is not already configured as the
default shell, the setup script will execute a chsh -s $(which zsh)
. This
changes the default shell to zsh, and takes effect as soon as a new zsh is
spawned or on next login.
Requirements for installing those dotfiles:
$ git clone http://github.com/alienlebarge/dotfiles ~/dotfiles
$ cd ~/dotfiles
$ git submodule update --init --recursive
$ stow .
$ ./brew.sh
$ git pull
$ git submodule foreach git pull
I work behind a proxy. So if you do not need any proxy settings, you have to walk through all files and remove all proxy configurations.
I use SquidMan for my proxy connections.
Plugins are managed with vim-plug.
If you need to add a new plugin, simply add it in the .vimrc
file and run
:PlugInstall
in Vim.
Delete the Plug line(s) from your '.vimrc', source the .vimrc
and call
`:PlugClean``
$ ./brew.sh
To install Homebrew formulae (after installing Homebrew, of course):
$ ./brew.sh
If you get an error when running it, try to $ sudo chmod 755 brew.sh
it.
It's installed via Homebrew to get the laetest version (see Install Homebrew formulae).
Use this config to cache the password.
It is based on Michael Smalley's article.