X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=zsh%2Fzshrc;h=045e33c74f4288fcb057269bb2d1fa49c91191c1;hb=dfdef82ccf5910f8efcde571f118da760cc63a23;hp=eb6b03957301024ec69ce527ac027b93cdb514bd;hpb=0035b56e86070c2a5e0b1cb451f8fcebbcb5b49d;p=dotfiles.git diff --git a/zsh/zshrc b/zsh/zshrc index eb6b039..045e33c 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,4 +1,4 @@ - +#!/bin/zsh autoload colors colors @@ -47,17 +47,17 @@ man() { export PYTHONPATH="/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/" export DEV_ENV_ROOT=$HOME/android/ -export ANDROID_NDK_ROOT="${DEV_ENV_ROOT}/android-ndk-r8c/" +export ANDROID_NDK_ROOT="${DEV_ENV_ROOT}/android-ndk-r10d/" export ANDROID_SDK_ROOT="${DEV_ENV_ROOT}/android-sdk-macosx/" #export ANDROID_TOOLCHAIN="${DEV_ENV_ROOT}/standalone-toolchain-api14/" -export ANDROID_NDK_HOME="$HOME/android/android-ndk-r8c" +export ANDROID_NDK_HOME="$HOME/android/android-ndk-r10d" export ANDROID_TOOLCHAIN="$ANDROID_NDK_HOME/standalone-toolchain-api14/" -export ANDROID_HOME="/Users/peli3/android/android-sdk-macosx/" +export ANDROID_HOME="$HOME/android/android-sdk-macosx/" export PATH=$PATH:"${ANDROID_TOOLCHAIN}/bin/":"${ANDROID_HOME}/platform-tools/" export PATH="$HOME/bin":"/usr/local/bin":$PATH @@ -138,9 +138,9 @@ GIT_PROMPT_SUFFIX="%{$fg[green]%}]%{$reset_color%}" GIT_PROMPT_AHEAD="%{$fg[red]%}ANUM%{$reset_color%}" GIT_PROMPT_BEHIND="%{$fg[cyan]%}BNUM%{$reset_color%}" GIT_PROMPT_MERGING="%{$fg_bold[magenta]%}⚡︎%{$reset_color%}" -GIT_PROMPT_UNTRACKED="%{$fg_bold[red]%}●%{$reset_color%}" -GIT_PROMPT_MODIFIED="%{$fg_bold[yellow]%}●%{$reset_color%}" -GIT_PROMPT_STAGED="%{$fg_bold[green]%}●%{$reset_color%}" +GIT_PROMPT_UNTRACKED="%{$fg_bold[red]%}•%{$reset_color%}" +GIT_PROMPT_MODIFIED="%{$fg_bold[yellow]%}•%{$reset_color%}" +GIT_PROMPT_STAGED="%{$fg_bold[green]%}•%{$reset_color%}" # Show Git branch/tag, or name-rev if on detached head parse_git_branch() { @@ -210,3 +210,24 @@ export ZSHHOME="$HOME/.zsh" #` git log --oneline --abbrev-commit --all --graph --decorate --color ` [[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh +alias emacs='TERM=xterm-256color emacs -nw' + +alias tw='open -a /Applications/TextWrangler.app/' + +# +#function exists { which $1 &> /dev/null } +# +#if exists percol; then +# function percol_select_history() { +# local tac +# exists gtac && tac="gtac" || { exists tac && tac="tac" || { tac="tail -r" } } +# BUFFER=$(fc -l -n 1 | eval $tac | percol --query "$LBUFFER") +# CURSOR=$#BUFFER # move cursor +# zle -R -c # refresh +# } +# +# zle -N percol_select_history +# bindkey '^R' percol_select_history +#fi +export LANG='en_US.UTF-8' +export LC_ALL="en_US.UTF-8"