Skip to content

Latest commit

 

History

History
111 lines (74 loc) · 2.34 KB

README.md

File metadata and controls

111 lines (74 loc) · 2.34 KB

Centaur Dotfiles

Centaur

Full and clean configurations for development environment on GNU Linux, macOS and Cygwin.

Prerequisite

  • GNU Linux, macOS, Cygwin
  • git, zsh, curl/wget
  • Recommend: GNU Emacs, tmux
  • Optional: Vim

Quickstart

Run this command in the console.

sh -c "$(curl -fsSL https://github.com/seagle0128/dotfiles/raw/master/install.sh)"

or

sh -c "$(wget https://github.com/seagle0128/dotfiles/raw/master/install.sh -O -)"

Docker

cd ~/.dotfiles
docker build -t centaur/ubuntu .
docker run -it centaur/ubuntu zsh

Shortcuts

  • Alt-c: cd into the selected directory.
  • Ctrl-g: Paste the recent path(s) fr{}om z history into the command line.
  • Ctrl-r: Paste the selected command from history into the command line.
  • Ctrl-t: Paste the selected file path(s) into the command line.

That's it. Enjoy!

Customization

ZSH ENV

Add your zsh environments in ~/.zshenv. This is recommended by ZSH officially. For example:

export PATH=/usr/local/sbin:$PATH
export PATH=$HOME/.rbenv/shims:$PATH
export PYTHONPATH=/usr/local/lib/python2.7/site-packages

ZSH local config

Set your personal zsh configurations in ~/.zshrc.local. For example:

# theme
antigen theme ys            # ys, dst, steeef, wedisagree, robbyrussell

# plugins
antigen bundle python
antigen bundle ruby

Git local config

Set your git configurations in ~/.gitconfig.local, e.g. user credentials.

[commit]
    # Sign commits using GPG.
    # https://help.github.com/articles/signing-commits-using-gpg/
    gpgsign = true

[user]
    name = John Doe
    email = [email protected]
    signingkey = XXXXXXXX

Screenshots

Main (with Tmux)

main

Git Log

git_log

centaur_emacs

Acknowledgements

Related projects: DevStrap

License

MIT License