Personal configuration files for development in macOS. Copied stuff from Justin Donaldson, Gerhard Gappmeier. Mainly intended as a backup for my development environment.
Some programs used in the configuration files need to be installed separately (We assume Python 3 and Node.js are installed on your system)
pyenv
curl -s -S -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
yvm
curl -s https://raw.githubusercontent.com/tophat/yvm/master/scripts/install.js | node
Install Iterm2.
Install oh-my-zsh.
Install oh-my-zsh plugins - zsh-autosuggestions - zsh-syntax-highlighting
Install powerlevel10k zsh theme:
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Install homebrew
Install vim and tmux:
brew install vim tmux
Install Tmux Plugin Manager:
git clone git://github.com/tmux-plugins/tpm ~/.tmux/plugins
Install direnv.
Install vim-plug:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Install plugins using the plugin manager. For vim-plug open Vim and type :PlugInstall.
- Clone this repository:
git clone git://github.com/dmbarreiro/dotfiles
- Copy repository configurations to your system:
Vim
copy <repository path>/plugins.vim ~/.plugins.vim
copy <repository path>/vimrc ~/.vimrc
Z shell
copy <repository path>/zshrc ~/.zshrc
source ~/.zshrc
Tmux
copy <repository path>/tmux.conf ~/.tmux.conf
.inputrc
copy <repository path>/inputrc ~/.inputrc
Instead of copying the files you can also source them from your original system files, I try to keep most directory references relative to system variables (like $HOME for instance).
- Source the copied configuration files in your terminal (Iterm presumably)
vscode/ contains Visual Studio Code user seetings. Check the README file on that folder for more information.