Skip to content

Instantly share code, notes, and snippets.

@Gurrium
Created December 10, 2017 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gurrium/ffa7b3149676ed35e43790db5d8b937c to your computer and use it in GitHub Desktop.
Save Gurrium/ffa7b3149676ed35e43790db5d8b937c to your computer and use it in GitHub Desktop.
export TERM="xterm-256color"
export XDG_CONFIG_HOME=$HOME/.config
# Path to your oh-my-zsh installation.
export ZSH=/Users/username/.oh-my-zsh
plugins=(git)
source $ZSH/oh-my-zsh.sh
# You may need to manually set your language environment
export LANG=en_US.UTF-8
########
# util #
########
bindkey -v
#########
# alias #
#########
alias v="nvim"
alias g="git"
alias gp="g push"
alias r="rails"
alias ls="colorls -a -sd"
alias wo="cd ~/workspace"
alias t="tmux"
alias d="docker"
alias rub="rubocop"
alias ruba="rubocop --auto-correct"
alias rid="rails ridgepole:dry"
alias rida="rails ridgepole:apply"
alias vz="v ~/.zshrc"
alias n="nim c -r"
alias soen="source ./env.sh"
alias sozh="source /Users/username/.zshrc"
alias be="bundle exec"
################
# Powerlevel9k #
################
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_MODE='nerdfont-complete'
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(time dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
POWERLEVEL9K_DISABLE_RPROMPT=true
POWERLEVEL9K_TIME_FORMAT="%D{%m\/%d %H:%M}"
POWERLEVEL9K_TIME_FOREGROUND='white'
POWERLEVEL9K_TIME_BACKGROUND='background'
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=false
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="\u25B8 "
POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR=''
POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR=''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment