This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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" |
NewerOlder