twwt / Enviroments

My Enviroments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enviroments

This repository includes configration files, scripts and tiny commands for our daily life, especially for myself.

Prepare

Install homebrew & homebrew packages

# homebrew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# coreutils
$ brew install coreutils

# peco
$ brew tag peco/peco
$ brew install peco

# and other ...
$ brew install git curl wget zsh htop vim tig jq lua luajit

iTerm2

Import the config/iterm2.itermcolors profile

Powerline

Default font usecase

Setup

# install fonts
$ cd ~/.enviroments/powerline/fonts
$ ./install.sh 

$ cd ~/.enviroments/powerline/shell

# for old powerline font using case (option)
$ patch powerline-shell.py.template < ../../powerline-shell.py.template.patch 

# install powerline-shell.py
$ ./install.py 

iTerm2 setting

Set the following setting with [Preferences]

  • Select powerline font at [Text] -> Reguar Font & Non-ASCII Font section
  • Select xterm-256color at [Terminal] -> Terminal Emulation section

Custom font usecase

Download and Install the xquartz

https://xquartz.macosforge.org

build powerline font

$ brew install fontforge --with-python
$ cd ~/.enviroments/.vim/bundle/vim-powerline/fontpatcher
$ fontforge -script ./fontpatcher ~/Library/Fonts/<user font>

Install

$ cd ~/.enviroments
$ ./setup.sh

Submodule

$ git clone git@github.com:kazupon/Enviroments.git ~/.enviroments
$ cd ~/.enviroments
$ git submodule init
$ git submodule update

Uninstall

you can remove all symlinks to the configuration files located in ~/.

$ cd ~/.enviroments
$ ~/.enviroments/setup.sh uninstall

TODO

  • Ansible & Docker setup

License

MIT license.

About

My Enviroments


Languages

Language:Shell 53.5%Language:Vim Script 22.3%Language:Ruby 11.5%Language:C 6.4%Language:Perl 5.8%Language:Makefile 0.5%