/etc-skel

/etc/skel with super cool confs for tmux, psql, inputrc, git, bash, dircolors, and more.

Primary LanguageVim Script

Rafael Bodill's /etc/skel

Minimal configuration for remote servers.

Supported programs:

  • ag - common ignore patterns
  • bash, npm, gem - aliases, exports, completion, colors, inputrc, install paths
  • git - aliases, advanced settings, common ignore patterns
  • mysql, psql - aliases, nicer prompt, comfort settings
  • ranger - mostly default configuration
  • tmux - advanced setup
  • vim/neovim - advanced setup

Origins

These configurations were extracted from rafi/.config and rafi/vim-config. Visit these repositories for the original full configuration.

Install

You will need to extract contents of repository into your ~/ directory, and/or the /etc/skel directory which contains files and directories that are automatically copied over to a new user's home directory when such user is created by the useradd program.

Local Install

⚠️ This will overwrite existing files.

Follow these instructions if you want to install on a local machine.

Specific user:

cd ~
curl -L https://github.com/rafi/etc-skel/archive/master.tar.gz \
  | tar xzv --strip-components=1 --exclude README.md

Copy to /etc/skel:

curl -L https://github.com/rafi/etc-skel/archive/master.tar.gz \
  | tar xzv -C /etc/skel --strip-components=1 --exclude README.md

Remote Install

⚠️ This will overwrite existing files.

Follow these instructions if you want to install onto a remote server:

git clone git://github.com/rafi/etc-skel.git
cd etc-skel
rsync -cavh --exclude=.git . user@server:./