Created
September 26, 2014 01:55
-
-
Save racingmars/f143907973a8872155b5 to your computer and use it in GitHub Desktop.
Matthew's boring .zshrc
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
# History | |
HISTFILE=~/.histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
setopt appendhistory | |
# Completion | |
autoload -Uz compinit | |
compinit | |
# Set editor | |
EDITOR=vim | |
VISUAL=vim | |
export EDITOR VISUAL | |
# Prompt | |
PS1=$'\n%n@%m:%B%~%b\n[%h] %# ' | |
# Aliases | |
alias ls='ls -F' | |
alias vi='vim' | |
# Local machine stuff | |
JAVA_HOME=`/usr/libexec/java_home` | |
MAVEN_HOME=${HOME}/lib/maven | |
GOPATH=${HOME}/go | |
PATH=${GOPATH}/bin:/usr/local/bin:${MAVEN_HOME}/bin:${JAVA_HOME}/bin:$PATH | |
export JAVA_HOME MAVEN_HOME GOPATH PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment