Skip to content

alancampora/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

The whole setup was done following this article

iTerm2

From here

Git

Run git on terminal and follow steps

Install dotfiles onto a new system (or migrate to this setup)

getting bare-repository

Prior to the installation make sure you have committed the alias to your .bashrc or .zsh:

alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

And that your source repository ignores the folder where you'll clone it, so that you don't create weird recursion problems:

echo ".dotfiles" >> .gitignore

Now clone your dotfiles into a bare repository in a "dot" folder of your $HOME:

git clone --bare <git-repo-url> $HOME/.dotfiles

Define the alias in the current shell scope:

alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'

Checkout the actual content from the bare repository to your $HOME:

dotfiles checkout

Hide untracked files

dotfiles config --local status.showUntrackedFiles no

IDE

install brew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

install python

brew install python

pip3 install neovim //activates python3 for neovim

install neovim ❤️

brew install neovim

Install plugin manager for nvim

curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Open nvim

nvim

:PlugInstall 

(if any plugin fails, check its repository (deoplete failed last time))

Terminal enhancements

brew install byobu 

zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell

Follow repo steps

Fira Code font

https://github.com/ryanoasis/nerd-fonts/blob/master/patched-fonts/FiraCode/Retina/complete/Fura%20Code%20Retina%20Nerd%20Font%20Complete.otf

Global

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
npm install -g turbo-git

upgrade

brew update
brew upgrade neovim

after that open neovim

:PlugUpgrade (for vim-plug)
:UpdateRemotePlugins
:PlugUpdate
brew install ctags

in each project execute

ctags -R .

About

I've finally found the meaning of life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published