Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seagle0128/dotfiles
Centaur Dotfiles - Full and clean configurations for development environment on GNU Linux, macOS and Cygwin
https://github.com/seagle0128/dotfiles
centaur dotfiles personal-dotfiles
Last synced: about 2 months ago
JSON representation
Centaur Dotfiles - Full and clean configurations for development environment on GNU Linux, macOS and Cygwin
- Host: GitHub
- URL: https://github.com/seagle0128/dotfiles
- Owner: seagle0128
- License: gpl-3.0
- Created: 2017-02-10T16:25:45.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T10:37:30.000Z (11 months ago)
- Last Synced: 2024-02-23T11:49:35.184Z (11 months ago)
- Topics: centaur, dotfiles, personal-dotfiles
- Language: Shell
- Homepage: https://seagle0128.github.io/dotfiles/
- Size: 650 KB
- Stars: 123
- Watchers: 9
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Centaur Dotfiles
![Centaur](logo.png)
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
``` shell
sh -c "$(curl -fsSL https://github.com/seagle0128/dotfiles/raw/master/install.sh)"
```or
``` shell
sh -c "$(wget https://github.com/seagle0128/dotfiles/raw/master/install.sh -O -)"
```or
``` shell
git clone https://github.com/seagle0128/dotfiles.git ~/.dotfiles # or download the zip package
cd ~/.dotfiles
./install.sh
```### Windows (Powershell)
``` 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
``` shell
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:``` shell
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:
``` shell
# 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](https://github.com/zdharma-continuum/zinit).
### Git local config
Set your git configurations in `~/.gitconfig.local`, e.g. user credentials.
``` shell
[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](https://user-images.githubusercontent.com/140797/51855591-9717c880-2368-11e9-9270-bbadc3640982.png
"Main with tmux")### Git Log
![git_log](https://user-images.githubusercontent.com/140797/51830877-cf4ce600-232b-11e9-9196-c35a59ebe491.png
" Git Log")### [Centaur Emacs](https://github.com/seagle0128/.emacs.d)
![centaur_emacs](https://user-images.githubusercontent.com/140797/56488858-4e5c4f80-6512-11e9-9637-b9395c46400f.png
"Centaur Emacs")## Acknowledgements
Related projects: [DevStrap](https://github.com/ray-g/devstrap)
## Donate
If you think the it's helpful for you, please consider paying a cup of coffee
for me. Thank you! :smile: