My standard setup on UNIX-like systems.
The terminal emulator is WSLtty, running on Windows 10, using the Windows Subsystem for Linux + Ubuntu 16.04.2 LTS.
The font is Fira Code, which has neat programming ligatures and is already patched with powerline symbols.
The programs being run are tmux for multiplexing the various shells, neovim for editing, and bash for the shell, all set up using the configurations in this repo.
- Skip this section if you are not running macOS.
- Install MacPorts. Other macOS package managers work too, but I use MacPorts.
- Install the
coreutils
,tmux
, andtmux-pasteboard
ports:sudo port install coreutils tmux tmux-pasteboard
- Install Neovim.
- Install Python 3.
- Your package manager may have a relevant package.
- Install the
neovim
pip package:pip3 install neovim
.
- Clone the repo and move the files into your home directory:
rsync -avh ~/setup-unix ~
- Thanks to @mark-walle for this trick from issue #1.
- This WILL overwrite existing files; please make a backup if you care about your existing config!
- IMPORTANT Modify all the following files with your own name/email:
- In
.gitconfig
:name
andemail
should have your own name and email.
- In
- Get the submodules (this may take a while):
git submodule update --init --recursive
- Restart your shell.
That's it!
- Install the desired version of
node.js
:n <node version>
- Update npm:
npm install -g npm
- Install "global" npm modules:
npm_g install
- See .npm_global for more details
- Restart your shell.
Some personal configuration/state is often contained in these configuration files (e.g. npm logins stored in .npmrc). To prevent yourself from accidentally adding these to the repo, try:
git update-index --assume-unchanged <path>
To start automatically checking for changes again:
git update-index --no-assume-unchanged <path>
To show all files being tracked (assume-unchanged
files are marked with h
,
instead of the normal H
):
git ls-files -v