Coder Social home page Coder Social logo

dotfiles's Introduction

Reminder for myself

If you made an OS clean install (shame on you) this is what you need to install/configure.

The list is not complete so, for your own sake, please remember to add or fix things.

Disable system /cores dumps

The /cores folder can be safely deleted.

sudo launchctl limit core 0 0

iTerm2

Install from here

Homebrew

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

Nerd Font (so that iTerm2 prompt looks good)

brew tap homebrew/cask-fonts
brew cask install font-hack-nerd-font

Zsh and Oh-My-Zsh

The system installed zsh is usually outdated and cannot be updated. Install the new new one with brew and add the new one to the available shells.

brew install zsh
echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells
chsh -s /usr/local/bin/zsh
exit

Oh-My-Zsh

sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

# A better prompt for zsh
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

# Syntax highlighting for zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

# Autocompletion for zsh
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Basic tools

brew install bash
brew install shellcheck
brew install cmake
brew install jq
brew install httpie
brew install fd
brew install tree
brew cask install osxfuse
brew install sshfs
brew install lynx
brew install pandoc
brew install highlight

## Docker Install Docker from its official page

Node JS

Install N version manager (this will also install Node LTS version)

curl -L https://git.io/n-install | bash

and then install Yarn (--without-node options is mandatory)

brew install yarn --ignore-dependencies

Rust

curl https://sh.rustup.rs -sSf | sh

Go

brew install golang

C# Refactoring from Vim

https://github.com/tinoji/Roslynator/blob/master/docs/RoslynatorForVisualStudioCode.md

Dotfiles

brew install stow
git clone https://github.com/emanuelelongo/dotfiles.git .dotfiles
cd .dotfiles
# IMPORTANT: config folder require explicit target
stow config -t ~/.config
stow vim
stow git
# etc 

iTerm2 configuration

iTerm2 -> Preferences -> "Load preferences from custom folder or URL" Set to "/Users//.iterm2"

Vim and Neovim

brew install vim
brew install neovim
pip3 install neovim

Make neovim uses same configuration of vim

mkdir -p .config/nvim
ln -s ~/.vimrc ~/.config/nvim/init.vim

Let's vim opens nvim and vi opens vim

mkdir bin
# assuming the version are still the same
ln -s /usr/local/Cellar/neovim/0.3.1/bin/nvim vim
ln -s /usr/local/Cellar/vim/8.1.0450/bin/vim vi

VimPlug

For vim

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

For neovim

curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
    https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

Then from vim and neovim run:

:PlugInstall

Instal fzf and Ag

brew install fzf
$(brew --prefix)/opt/fzf/install
brew install ripgrep

dotfiles's People

Contributors

emanuelelongo avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.