Skip to content

Instantly share code, notes, and snippets.

@mparker17
Last active December 19, 2015 23:08
Show Gist options
  • Save mparker17/6032092 to your computer and use it in GitHub Desktop.
Save mparker17/6032092 to your computer and use it in GitHub Desktop.
My custom additions to my .zshrc
#
# 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"
@mparker17
Copy link
Author

See https://gist.github.com/mparker17/2881836 for the mparker17 theme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment