Skip to content

Instantly share code, notes, and snippets.

@vitormil
Created July 13, 2018 16:46
Show Gist options
  • Save vitormil/f8a4c82566ee9f575d67efd5767b9bf8 to your computer and use it in GitHub Desktop.
Save vitormil/f8a4c82566ee9f575d67efd5767b9bf8 to your computer and use it in GitHub Desktop.
ZSH
export ZSH=/home/voliveira/.oh-my-zsh
ZSH_THEME="powerlevel9k/powerlevel9k"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir rbenv vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status node_version time)
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=" \n "
POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX=" $ "
POWERLEVEL9K_NODE_VERSION_FOREGROUND='008'
POWERLEVEL9K_SHORTEN_DIR_LENGTH=5
export NVM_LAZY_LOAD=true
export NVM_NO_USE=true
export NVM_AUTO_USE=false
export PGHOST="localhost"
export PGUSER="postgres"
export PGPASSWORD="postgres"
plugins=(jump zsh-autosuggestions zsh-nvm zsh-syntax-highlighting)
alias g="jump"
source $ZSH/oh-my-zsh.sh
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -la'
alias vi=vim
alias gpg=gpg2
alias subl=$HOME/Applications/sublime_text_3/sublime_text
alias xcp="xclip -selection clipboard"
alias g="jump"
alias ag="ag --ignore-case"
alias h="history"
alias hs="history | ag $1"
alias t='tig'
alias w='which'
alias o='gnome-open $1 &> /dev/null'
alias npmls="npm ls --depth 0"
alias bikevitoria="node ~/git/bikevitoria-cli/bikevitoria.js"
alias bi="bundle install"
alias bu="bundle update"
alias r="bundle exec rails"
alias bikes="node ~/git/bikevitoria-cli/bikevitoria.js"
alias be="bundle exec"
alias ci='mvn clean install -DskipUTs=false && notify-send --expire-time=5 --urgency=low ">>> `pwd | xargs basename`" "Build has been finished."'
alias cio="mvn clean install -DskipUTs=false --offline"
source /home/voliveira/paywithmybank/extras/scripts/environment.sh;
source /home/voliveira/paywithmybank/extras/scripts/aliases.sh;
export PATH="/usr/lib/jvm/java-8-openjdk/bin:$PATH"
export PATH="$HOME/Applications/maven/bin:$HOME/Applications/node/bin:$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
source /etc/profile.d/vte.sh
fi
export ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=239"
export ZSH_AUTOSUGGEST_STRATEGY="match_prev_cmd"
export CLICOLOR=1
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment