Skip to content

Instantly share code, notes, and snippets.

@kesco
Created June 4, 2015 08:51
Show Gist options
  • Save kesco/42f53c8ba643c4e5c6c5 to your computer and use it in GitHub Desktop.
Save kesco/42f53c8ba643c4e5c6c5 to your computer and use it in GitHub Desktop.
.dotconfig
# 设置前缀为Ctrl + a
set -g prefix C-x
#解除Ctrl+b 与前缀的对应关系
unbind C-b
# TmuxLine
if-shell "test -f $HOME/.tmuxline" "source $HOME/.tmuxline"
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# VirutalenvWrapper
export WORKON_HOME=$HOME/.virtualenvs
export VIRTUALENVWRAPPER_SCRIPT=/usr/local/bin/virtualenvwrapper.sh
source /usr/local/bin/virtualenvwrapper_lazy.sh
# Android SDK
export ANDROID_HOME=/usr/local/opt/android-sdk
# Android NDK
export ANDROID_NDK=/usr/local/opt/android-ndk
# Base16 Shell
BASE16_SHELL="$HOME/.config/base16-shell/base16-monokai.dark.sh"
[[ -s $BASE16_SHELL ]] && source $BASE16_SHELL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment