Skip to content

Instantly share code, notes, and snippets.

@cawka
Created March 21, 2021 19:03
Show Gist options
  • Save cawka/1dea9e6b35ca9d08f22b3a9de8ff3104 to your computer and use it in GitHub Desktop.
Save cawka/1dea9e6b35ca9d08f22b3a9de8ff3104 to your computer and use it in GitHub Desktop.
my zshrc
# setopt noautomenu
autoload -Uz compinit && compinit
autoload bashcompinit && bashcompinit
setopt autocd
bindkey "[D" backward-word
bindkey "[C" forward-word
bindkey "^[a" beginning-of-line
bindkey "^[e" end-of-line
. /etc/profile
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# added by travis gem
[ -f /Users/cawka/.travis/travis.sh ] && source /Users/cawka/.travis/travis.sh
alias ls='ls -G'
alias l='ls -G'
alias vi='aquamacs'
alias crontab="VIM_CRONTAB=true crontab"
alias gerrit='ssh gerrit gerrit'
alias b='bundle exec'
alias acroread='open -a "Adobe Acrobat"'
alias gerrit='ssh [email protected] -p 29418'
export EDITOR='vim'
export MANPATH=/usr/local/man:$MANPATH
export PATH=/usr/local/bin:$PATH
# if [ -f $(brew --prefix)/etc/bash_completion ]; then
# . $(brew --prefix)/etc/bash_completion
#
. ~/.bash-completion/waf-completion.bash
# fi
# if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
# # GIT_PROMPT_THEME=Default
# GIT_PROMPT_THEME=Single_line_Ubuntu
# GIT_PROMPT_FETCH_REMOTE_STATUS=0
# # GIT_PROMPT_THEME=Single_line_openSUSE
# source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
# # PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
# fi
if [ -f "/usr/local/opt/zsh-git-prompt/zshrc.sh" ]; then
source "/usr/local/opt/zsh-git-prompt/zshrc.sh"
PROMPT='%B%m:%~%b $(git_super_status) %# '
fi
#export NDK_BUILD_ABI=x86_64
#export NDK_BUILD_ABI=x86
# export NDK_BUILD_ABI=armeabi-v7a
# export NDK_BUILD_ABI=armeabi-v7a,x86_64
#armeabi,armeabi-v7a#
# export NDK_DEBUG=1
# export NDK_BUILD_PARALLEL=max
export GRADLE_OPTS=-Xmx512m
export JAVA_HOME=$(/usr/libexec/java_home)
export HOMEBREW_GITHUB_API_TOKEN=7f1861599f58f4d28ec4115be0a9a5318fba546d
# source ~/.iterm2_shell_integration.zsh
export TRAVIS_GITHUB_TOKEN=2e67690217e556034a205053e7ca3fc347586863
export GITHUB_TOKEN=dcfc9e4df10db3caa2920f3b7a8fc0a66b357766
export BOOST_TEST_COLOR_OUTPUT=true
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export PATH=/usr/local/opt/qt/bin:$PATH
ASAN_OPTIONS="color=always"
ASAN_OPTIONS+=":detect_stack_use_after_return=true"
ASAN_OPTIONS+=":check_initialization_order=true"
ASAN_OPTIONS+=":strict_init_order=true"
ASAN_OPTIONS+=":detect_invalid_pointer_pairs=1"
ASAN_OPTIONS+=":detect_container_overflow=false"
ASAN_OPTIONS+=":strict_string_checks=true"
ASAN_OPTIONS+=":strip_path_prefix=${PWD}/"
export ASAN_OPTIONS
export CREW_OWNER=named-data-mobile
# eval "$(rbenv init -)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment