Skip to content

Instantly share code, notes, and snippets.

@aseigneurin
Last active January 15, 2017 01:30
Show Gist options
  • Save aseigneurin/b8da67ff1a7c060f8233eb507debc888 to your computer and use it in GitHub Desktop.
Save aseigneurin/b8da67ff1a7c060f8233eb507debc888 to your computer and use it in GitHub Desktop.
Oh-My-Zsh configuration
PROMPT=$'%{$fg_bold[red]%}%D{%K:%M:%S}%{$reset_color%} %{$fg[cyan]%}%n%{$fg[grey]%}@%{$fg[green]%}%M%{$fg[grey]%}:%{$fg_bold[yellow]%}%d%{$fg[grey]%}$(git_prompt_info) $ %{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg_bold[white]%}git:("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[white]%})%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}*"
ZSH_THEME_GIT_PROMPT_CLEAN=""
alias mvndeps='mvn dependency:sources'
alias mvntree='mvn dependency:tree'
alias sublime='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'
alias subl=sublime
alias run_zookeeper='$KAFKA_HOME/bin/zookeeper-server-start $KAFKA_HOME/etc/kafka/zookeeper.properties'
alias run_kafka='$KAFKA_HOME/bin/kafka-server-start $KAFKA_HOME/etc/kafka/server.properties'
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/
export SPARK_HOME=~/software/spark-2.0.0-bin-hadoop2.7
export SPARK_LOCAL_IP=127.0.0.1
export SPARK_MASTER_IP=127.0.0.1
export KAFKA_HOME=~/software/confluent-3.1.1
export PATH=~/bin:$PATH:$SPARK_HOME/sbin:$SPARK_HOME/bin:$KAFKA_HOME/bin
ZSH_THEME=alexis
@aseigneurin
Copy link
Author

.oh-my-zsh/
  custom/
    alias.zsh
    exports.zsh
    theme.zsh
  themes/
    alexis.zsh-theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment