Skip to content

Instantly share code, notes, and snippets.

@theguuholi
Created August 19, 2022 14:33
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 theguuholi/d5da8b11d100f04290f8ba203f991767 to your computer and use it in GitHub Desktop.
Save theguuholi/d5da8b11d100f04290f8ba203f991767 to your computer and use it in GitHub Desktop.
export ZSH="/Users/gustavooliveira/.oh-my-zsh"
ZSH_THEME="spaceship"
plugins=(
git
docker
elixir
gcloud
helm
kubectl
mix
)
SPACESHIP_USER_SHOW=always
SPACESHIP_PROMPT_ADD_NEWLINE=false
SPACESHIP_CHAR_SYMBOL="❯"
SPACESHIP_CHAR_SUFFIX=" "
source $ZSH/oh-my-zsh.sh
alias dl="docker ps"
alias dla="docker ps -a"
alias ds="docker start"
alias dsp="docker start pg"
alias gi="docker images"
alias dcud="docker-compose up -d"
alias dcd="docker-compose down"
alias dcs="docker-compose start"
alias dcstop="docker-compose stop"
alias i="iex"
alias is="iex -S mix"
alias mdg="mix deps.get"
alias mes="mix ecto.setup"
alias mer="mix reset"
alias med="mix drop"
alias ims="iex -S mix phx.server"
alias ms="mix setup"
alias mf="mix format"
alias mt="mix test"
alias mtw="mix test.watch"
alias mch="mix coveralls.html"
alias gt="git status"
alias gcm="git commit -m"
alias gc="git checkout"
alias gr="git rebase"
alias grc="git rebase --continue"
alias gp="git push"
alias gpl="git pull"
alias gpf="git push --force"
alias gpfs="git push --force-with-lease"
alias before-push="mix test; mix credo; mix format"
alias ni="npm install --prefix assets"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment