Awesome
Centaur Dotfiles
Full and clean configurations for development environment on GNU Linux, macOS and Cygwin.
Prerequisite
- GNU Linux, macOS, Windows, Cygwin
- Git, Zsh/Powershell, curl/wget
- Recommend: GNU Emacs, tmux
- Optional: Vim
Quickstart
Linux, macOS and Cygwin
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 -)"
or
git clone https://github.com/seagle0128/dotfiles.git ~/.dotfiles # or download the zip package
cd ~/.dotfiles
./install.sh
Windows (Powershell)
git clone https://github.com/seagle0128/dotfiles.git ~/.dotfiles # or download the zip package
cd ~/.dotfiles
install_scoop.ps1 # or install_choco.ps1
Docker
cd ~/.dotfiles
docker build -t centaur/ubuntu .
docker run -it centaur/ubuntu zsh
Shortcuts
Alt-c
: cd into the selected directory.Ctrl-r
: Paste the selected command from history into the command line.Ctrl-t
: Paste the selected file path(s) into the command line.TAB
: To completions.
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:
# Oh-my-zsh plugin
zinit snippet OMZP::golang
zinit snippet OMZP::python
zinit snippet OMZP::ruby
# Github plugin
zinit light ptavares/zsh-direnv
See details on zinit.
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 = john.doe@example.com
signingkey = XXXXXXXX
Screenshots
Main (with Tmux)
Git Log
Centaur Emacs
Acknowledgements
Related projects: DevStrap
Donate
If you think the it's helpful for you, please consider paying a cup of coffee for me. Thank you! :smile:
<img src="https://user-images.githubusercontent.com/140797/65818854-44204900-e248-11e9-9cc5-3e6339587cd8.png" alt="Alipay" width="120"/> <img src="https://user-images.githubusercontent.com/140797/65818844-366ac380-e248-11e9-931c-4bd872d0566b.png" alt="Wechat Pay" width="120"/>
<a href="https://paypal.me/seagle0128" target="_blank"> <img src="https://www.paypalobjects.com/digitalassets/c/website/marketing/apac/C2/logos-buttons/optimize/44_Grey_PayPal_Pill_Button.png" alt="PayPal" width="120" /> </a> <a href="https://www.buymeacoffee.com/s9giES1" target="_blank"> <img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" width="160"/> </a>