Skip to content

Instantly share code, notes, and snippets.

@lesm
Last active December 2, 2016 05:11
Show Gist options
  • Select an option

  • Save lesm/fa3208e97fd19845253f to your computer and use it in GitHub Desktop.

Select an option

Save lesm/fa3208e97fd19845253f to your computer and use it in GitHub Desktop.
Configuración personal de ~/.zshrc
# Path to your oh-my-zsh installation.
export ZSH=/home/luis/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
ZSH_THEME="lesm"
# 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 rails ruby)
# User configuration
export PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/heroku/bin/:/opt/java/bin/:/opt/packer/:/opt/mongo/mongodb-3.2.3/bin/:/opt/Pygments-2.1.3/:"
# export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh
source ~/.bin/tmuxinator.zsh
# You may need to manually set your language environment
export LANG=en_US.UTF-8
export EDITOR='vim'
# ssh
# export SSH_KEY_PATH="~/.ssh/dsa_id"
# 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 irb="tput setaf 9;irb"
alias python="tput setaf 14;python"
alias cat="tput setaf 332;cat"
alias ruby="tput setaf 5;ruby"
alias ]='xdg-open'
alias mux=tmuxinator
#configuración de dircolor
export LS_COLORS="di=01;33:fi=07;36:ex=01;37:ow=01;04:*.avi=01;34:*.mp4=01;34:*.mp3=01;34:*.jpg=01;91:*.jpeg=01;91:*.gif=01;91:*.png=01;91:*.PDF=01;36:*.pdf=01;36:*.zip=01;32:*.tar=01;32:*.gz=01;32:*.bz2=01;32:*.iso=01;32:*.odt=01;36:*.txt=01;36:*.docx=01;36:*.cpp=1;36:*.c=1;34:*.rb=01;35:*.erb=01;35:*.vim=1;32:*.ova=1;32:*.java=1;31:*.js=0;33:*.html=1;31:*.css=1;34:*.scss=1;34:*.markdown=01;36:*.ruby-version=01;35:*.ruby-gemset=01;35:*.gitignore=01;32:*.lock=0:*.rdoc=0:*.ru=01;31:*.php=0;37:"
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
export NVM_DIR="/home/luis/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
source ~/.rvm/scripts/rvm
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment