Skip to content

Instantly share code, notes, and snippets.

@Adobe-Android
Created April 15, 2019 04:53
Show Gist options
  • Save Adobe-Android/f6005ad31a41d0f806755a446f0fc3fd to your computer and use it in GitHub Desktop.
Save Adobe-Android/f6005ad31a41d0f806755a446f0fc3fd to your computer and use it in GitHub Desktop.
Zshrc file
# Path to your oh-my-zsh installation.
export ZSH=/home/vm/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# POWERLEVEL9K_MODE='nerdfont-complete'
# ZSH_THEME="powerlevel9k/powerlevel9k"
ZSH_THEME="robbyrussell"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
alias zshconfig="mate ~/.zshrc"
alias ohmyzsh="mate ~/.oh-my-zsh"
alias cl="clear"
alias nz="nano .zshrc"
alias b="cd .."
alias bb="cd ../.."
alias c="code ."
alias gs="git status"
alias gpl="git pull origin"
alias gps="git push origin"
alias ga="git add"
alias gall="git add ."
alias gcm="git commit -m"
alias gb="git branch"
alias gc="git checkout"
alias gcb="git checkout -b"
alias gcl="git clone"
alias gm="git merge"
alias gi="git init"
alias gra="git remote add origin"
alias gf="git fetch origin"
export ANDROID_HOME=/home/vm/Android/Sdk
export PGUSER=vm
export PGPASSWORD=pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment