You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
2.6 KiB
81 lines
2.6 KiB
# Path to your oh-my-zsh configuration.
|
|
export ZSH=$HOME/.oh-my-zsh
|
|
|
|
# Explicitly configured $PATH variable
|
|
export PATH="/usr/local/git/bin:/sw/bin/:/usr/local/bin:/usr/local/:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin/"
|
|
# export MANPATH="/usr/local/man:$MANPATH"
|
|
|
|
# Set name of the theme to load.
|
|
# Look in ~/.oh-my-zsh/themes/
|
|
# Optionally, if you set this to "random", it'll load a random theme each
|
|
# time that oh-my-zsh is loaded.
|
|
ZSH_THEME="nick"
|
|
|
|
# Z beats cd most of the time
|
|
. ~/z/z.sh
|
|
|
|
# Uncomment the following line to use case-sensitive completion.
|
|
# CASE_SENSITIVE="true"
|
|
|
|
# Uncomment the following line to disable bi-weekly auto-update checks.
|
|
# DISABLE_AUTO_UPDATE="true"
|
|
|
|
# Uncomment the following line to change how often to auto-update (in days).
|
|
# export UPDATE_ZSH_DAYS=13
|
|
|
|
# Uncomment the following line to disable colors in ls.
|
|
# DISABLE_LS_COLORS="true"
|
|
|
|
# Uncomment the following line to disable auto-setting terminal title.
|
|
# DISABLE_AUTO_TITLE="true"
|
|
|
|
# Uncomment the following line to enable command auto-correction.
|
|
ENABLE_CORRECTION="true"
|
|
|
|
# Uncomment the following line to display red dots whilst waiting for completion.
|
|
COMPLETION_WAITING_DOTS="true"
|
|
|
|
# Would you like to use another custom folder than $ZSH/custom?
|
|
# ZSH_CUSTOM=$HOME/dotfiles/zsh
|
|
|
|
# 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)
|
|
plugins=(fabric brew node npm history git-flow vagrant zsh-syntax-highlighting)
|
|
|
|
# User configuration
|
|
|
|
# Load the shell dotfiles
|
|
for file in $HOME/.{shell_exports,shell_aliases,shell_functions}; do
|
|
[ -r "$file" ] && [ -f "$file" ] && source "$file";
|
|
done;
|
|
unset file;
|
|
|
|
if [ -f `brew --prefix`/etc/bash_completion ]; then
|
|
. `brew --prefix`/etc/bash_completion
|
|
fi
|
|
|
|
# Put any proprietary or private functions/values in ~/.private, and this will source them
|
|
[ -f $HOME/.private ] && source $HOME/.private
|
|
|
|
# Automatically list directory contents on `cd`.
|
|
# auto-ls () {
|
|
# emulate -L zsh;
|
|
# # explicit sexy ls'ing as aliases arent honored in here.
|
|
# hash gls >/dev/null 2>&1 && CLICOLOR_FORCE=1 gls -aFh --color --group-directories-first || ls
|
|
# }
|
|
# chpwd_functions=( auto-ls $chpwd_functions )
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
# Disable sharing history between terminals enabled by Oh My Zsh
|
|
unsetopt share_history
|
|
|
|
# Load extra (private) settings
|
|
[ -f ~/.zsh.local ] && source ~/.zsh.local
|
|
|
|
# npm tab completion
|
|
. <(npm completion)
|
|
|
|
# fortune: brew install fortune ponysay
|
|
fortune | ponysay
|
|
|