HTML Emacs Lisp Common Lisp Perl Python Vim script Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.caskwin
.config
.emacs.d
.snippets
.spacemacs.d
.vim
.virtualenv
bin
emacs.d_old
playbooks/default
.ctags
.flake8rc
.gemrc
.gitconfig
.gitignore
.gitmodules
.globalrc
.gvimrc
.hgignore
.hgrc
.irbrc
.muttatorrc
.npmrc
.pylint
.pythonrc.py
.rpmmacros
.screenrc
.tigrc
.tmux.conf
.vimrc
.zshenv
.zshrc
README.md
ansible.cfg
install.sh
powerline_tmux.conf

README.md

dotfiles

This is my dotfiles repository

Supported environments

  • Mac OSX
  • RHEL (CentOS, Amazon Linux)

Prerequisite

How to install ansible

Linux

  • Install EPEL
$ sudo yum install -y epel-release
  • Install git
$ sudo yum install -y git
  • Install ansible
$ sudo yum -y install ansible

Mac

  • Install Xcode
$ xcode-select --install
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install ansible

How to use

  • Install
$ curl -LSfs https://raw.githubusercontent.com/kshimo69/dotfiles/master/install.sh | bash
  • Update
* Mac
ansible-playbook ./playbooks/default/mac.yml
* RedHat Linux (Amazon Linux)
ansible-playbook ./playbooks/default/rhel.yml

After Install...

  • set default shell
chsh -s `which zsh`
  • update neovim plugins
:call dein#update()
:UpdateRemotePlugins

restart neovim

  • edit ~/.gitconfig.local

for home or for office.

[user]
    email = username@example.com
    name = Your Name
[github]
    user = username
    token = XXXXXXXX
  • edit ~/.netrc
machine github.com
login USERNAME
password PASSWORD
  • edit ~/.passwd

This file load from .zshrc. password or proxy config in office.

export http_proxy=http://proxy.example:8080/
export https_proxy=$http_proxy
export HTTP_PROXY=$http_proxy
export HTTPS_PROXY=$http_proxy
export ftp_ftp=$http_proxy
export FTP_PROXY=$http_proxy
export no_proxy=localhost,127.0.0.1
export NO_PROXY=$no_proxy
  • edit ~/.ssh/config
Host *
    Compression yes
    CompressionLevel 9
    # Ciphers arcfour256
Host ssh-proxy
    HostName proxy-host.example.com
    User USERNAME
    IdentitiesOnly yes
    IdentityFile ~/.ssh/id_rsa.specified
    StrictHostKeyChecking no
Host *.example.com
    User USERNAME
    IdentityFile ~/.ssh/id_rsa.specified
    ProxyCommand ssh -q ssh-proxy nc %h %p
    StrictHostKeyChecking no