Skip to content

Instantly share code, notes, and snippets.

@lissahyacinth
Last active June 10, 2019 10:32
Show Gist options
  • Save lissahyacinth/80428ea289892f397d8c9a044605868f to your computer and use it in GitHub Desktop.
Save lissahyacinth/80428ea289892f397d8c9a044605868f to your computer and use it in GitHub Desktop.
zsh profile
# Path to your oh-my-zsh installation.
export ZSH="~/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="agnoster"
plugins=(git osx history)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# Aliases
# Optional Alias for using bat instead of cat for file reading
#alias cat="bat"
# Optional Alais for using exa instead of ls for listing file contents
alias ls="exa -la --git --header"
alias java_ls='/usr/libexec/java_home -Vq 2>&1 | grep -E "\d\.\d\.\d(_\d+)?.*," | cut -d , -f 1 | cut -c 5-'
# Exports to make things work, requires llvm to be installed through brew and not using
# the default conda version of llvm
export CC=clang
export CXX=clang++
# Path Modifications
export GPG_TTY=$(tty)
export PATH="/usr/local/opt/libxml2/bin:$PATH"
# Optional for Rust
#export PATH="$HOME/.cargo/bin:$PATH"
export PATH="/Users/lissa.hyacinth/.local/bin:$PATH"
export PATH="/usr/local/bin:$PATH"
export PATH="$PATH:$(brew --prefix)/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment