Full and clean configurations for development environment on GNU Linux, macOS and Cygwin.
- GNU Linux, macOS, Windows, Cygwin
- Git, Zsh/Powershell, curl/wget
- Recommend: GNU Emacs, tmux
- Optional: Vim
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
git clone https://github.com/seagle0128/dotfiles.git ~/.dotfiles # or download the zip package
cd ~/.dotfiles
install_scoop.ps1 # or install_choco.ps1
cd ~/.dotfiles
docker build -t centaur/ubuntu .
docker run -it centaur/ubuntu zsh
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!
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
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.
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
Related projects: DevStrap
If you think the it's helpful for you, please consider paying a cup of coffee for me. Thank you! 😄