TGV: Train à Grande Vitesse SYST
System

My .zshrc

par Manuchap

This is my .zshrc file since I'm usin zsh as my shell interpretor.
It mostly consists in coloring stuff, giving me info about the dir I'm in and leveraging typing via aliases.

manuchap_teminal.jpg

# Oh-my-zsh
export ZSH=/Users/manuchap/.oh-my-zsh
ZSH_THEME="nebirhos"
DISABLE_UNTRACKED_FILES_DIRTY="true"
HIST_STAMPS="dd/mm/yyyy"
plugins=(command-coloring compleat git)
export CLICOLOR=1
export GREP_OPTIONS="--color=auto"
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
source $ZSH/oh-my-zsh.sh

# Rbenv
eval "$(rbenv init -)"

# Global
alias home='cd ~/ && clear'
alias desk='cd ~/Desktop && clear'
alias nz="nano ~/.zshrc"
alias sz="source ~/.zshrc"
alias ls="ls -sla"
alias ni='npm install'
alias bi='bundle install'
alias bu='bundle update'
alias rh='rbenv rehash'
alias pp='python -mjson.tool'
alias 24g='rbenv global 2.4.3'
alias 25g='rbenv global 2.5.1'
alias 24s='rbenv shell 2.4.3'
alias 25s='rbenv shell 2.5.1'
alias su='subl .'

# Locomotive
alias bg='bundle exec guard'
alias ws='bundle exec wagon serve'
alias wgc='bundle exec wagon generate content_type'
alias wgp='bundle exec wagon generate page'
alias wgr='bundle exec wagon generate relationship'
alias clon='bundle exec clone'
alias push='bundle exec wagon deploy'
alias pull='bundle exec wagon pull'
alias sync='bundle exec wagon sync'
alias supr='bundle exec wagon delete'
alias md=' mongod --dbpath /Users/manuchap/Sites/Mongo/manuchap'
alias hl='cd ~/Sites/Loco/manuchap && heroku local web'

# Path
export PATH="/usr/local/opt/mongodb@3.4/bin:$PATH"


  Retour à la liste
X

Inscription


X

Connexion


Mot de passe oublié?