Last active
December 19, 2015 23:08
-
-
Save mparker17/6032092 to your computer and use it in GitHub Desktop.
My custom additions to my .zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Changes to the .zshrc that ships with oh-my-zh. | |
# | |
# Find the mparker17 theme at https://gist.github.com/mparker17/2881836 | |
ZSH_THEME="mparker17" | |
COMPLETION_WAITING_DOTS="true" | |
# Some others that might be useful based on environment: osx, rbenv, vagrant, bundler, composer, brew | |
plugins=(colored-man git git-extras) | |
# | |
# My custom additions. | |
# | |
# Custom aliases. | |
alias gut='git' | |
alias l='ls -CF' | |
alias ll='ls -l' | |
alias la='ls -A' | |
alias lla='ls -A -l' | |
alias rgrep='grep -r' | |
alias xclip='xclip -selection clipboard' | |
# Set editor, visual and pager | |
export EDITOR=vim | |
export VISUAL=vim | |
export PAGER=less | |
# Settings for various commands. | |
export GREP_OPTIONS='--line-number --color=auto' | |
# If we're using xterm, assume it's relatively modern. | |
[[ $TERM == xterm ]] && export TERM=xterm-256color | |
# Autocomplete for things installed by homebrew. | |
fpath=(/usr/local/share/zsh/site-functions $fpath) | |
# Drush autocomplete. | |
autoload bashcompinit | |
bashcompinit | |
source "${HOME}/Repositories/(drupal)/drush/drush.complete.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://gist.github.com/mparker17/2881836 for the mparker17 theme.