This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stty stop undef | |
export EDITOR='/usr/bin/vim' | |
export LD_LIBRARY_PATH='/opt/rust/lib' | |
bindkey -e | |
zstyle ':completion:*:sudo:*' environ PATH="${SUDOPATH}:${PATH}" | |
HISTFILE="${ZDOTDIR}/.histfile" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typeset -U path | |
path=( | |
${HOME}/bin | |
/opt/rust/bin | |
/usr/local/bin | |
/usr/bin | |
/bin | |
) | |
typeset -U fpath |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/zsh | |
prompt_ykomatsu_precmd() { | |
vcs_info | |
} | |
prompt_ykomatsu_setup() { | |
prompt_opts=(cr percent sp subst) | |
autoload -Uz add-zsh-hook vcs_info | |
add-zsh-hook precmd prompt_ykomatsu_precmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
readonly CHROOTBASE='/usr/local/arch' | |
readonly STARTSSHD='/usr/bin/dropbear -R -p 8022' | |
readonly SSHDPIDFILE="/var/run/dropbear.pid" | |
notice() { | |
printf "NOTICE: ${1}\n" >&2 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Base16 Default for HTML Terminal (hterm) based on Base16 Default for | |
// Xdefaults | |
// Author: Yoshito Komatsu <[email protected]> | |
// License: The MIT License (MIT) | |
// | |
// 1. Open hterm (Ctrl + Alt + T) | |
// 2. Open the JavaScript Console (Ctrl + Shift + J) | |
// 3. Run this script | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option -g mode-keys emacs | |
set-option -g prefix C-t | |
unbind-key C-b | |
bind-key C-t send-prefix | |
set-option -g mouse-resize-pane on | |
set-option -g mouse-select-pane on | |
set-option -g mouse-select-window on | |
set-option -g mouse-utf8 on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;; Enable El-Get | |
(add-to-list 'load-path "~/.emacs.d/el-get/el-get") | |
(unless (require 'el-get nil 'noerror) | |
(with-current-buffer | |
(url-retrieve-synchronously | |
"https://raw.githubusercontent.com/dimitri/el-get/master/el-get-install.el") | |
(goto-char (point-max)) | |
(eval-print-last-sexp))) | |
(el-get 'sync) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Ubuntu 14.04 LTS | |
STARTDATE=$(TZ='Asia/Tokyo' date +'%Y%m%d') | |
PKGS='git' | |
PKGS="${PKGS} gcc g++ pkg-config zlib1g-dev libglib2.0-dev libpixman-1-dev" | |
PKGS="${PKGS} libcap-dev libattr1-dev" | |
PKGS="${PKGS} make" | |
EXTRACFLAGS='-march=atom -O2 -pipe' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ln -s .vim/.vimrc ${HOME}/.vimrc ${HOME} | |
filetype off | |
set runtimepath+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'Valloric/YouCompleteMe' | |
Plugin 'tomasr/molokai' | |
Plugin 'rust-lang/rust.vim' | |
Plugin 'cohama/lexima.vim' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZDOTDIR="${HOME}/.zsh.d" |
OlderNewer