This commit is contained in:
Ian Chesal 2017-05-02 02:22:50 +00:00 committed by GitHub
commit f208558c4b
3 changed files with 68 additions and 0 deletions

39
my.zshrc Normal file
View file

@ -0,0 +1,39 @@
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/code/oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="frisk"
# Example aliases
alias zshconfig="subl ~/code/oh-my-zsh/my.zshrc"
alias ohmyzsh="subl ~/code/oh-my-zsh"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(cpanm git brew github gradle history-substring-search knife osx python perl svn terminalapp textmate axefx sublime-text-2 mactex)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin
export JAVA_HOME=/Library/Java/Home

View file

@ -0,0 +1,9 @@
LATEX=`which latex`
if [[ $LATEX == 'latex not found' ]] ; then
if [ -d /usr/texbin ] ; then
export PATH=/usr/texbin:${PATH}
fi
if [ -d ~/texbin ] ; then
export PATH=~/texbin;${PATH}
fi
fi

View file

@ -0,0 +1,20 @@
# sublime-text-2.plugin.zsh
#
# An oh-my-zsh plugin for Sublime Text 2
# Primarily targetted at OS X ST2 users but this might work for
# Linux as well.
#
SUBL=`which subl`
if [[ $SUBL == 'subl not found' ]] ; then
if [[ `uname` == 'Darwin' ]] ; then
if [ -d /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin ] ; then
export PATH=/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin:${PATH}
fi
if [ -d ~/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin ] ; then
export PATH=~/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin:${PATH}
fi
fi
fi
alias st='subl'
alias stzsh='subl ~/.zshrc'