local zshrc

This commit is contained in:
Flo 2016-08-05 17:28:12 +02:00
parent 43797826ec
commit 018c008e1d

17
zshrc
View File

@ -1,5 +1,5 @@
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load. # Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/ # Look in ~/.oh-my-zsh/themes/
@ -52,11 +52,10 @@ ZSH_THEME="agnoster"
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(git) plugins=(git)
#plugins=(git ssh-agent)
# User configuration # User configuration
export PATH="$HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" # export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH"
# export MANPATH="/usr/local/man:$MANPATH" # export MANPATH="/usr/local/man:$MANPATH"
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
@ -85,6 +84,14 @@ source $ZSH/oh-my-zsh.sh
# Example aliases # Example aliases
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
if [[ -f $HOME/.bash_aliases ]]; then
source ~/.bash_aliases # Ctrl-R
bindkey '^R' history-incremental-search-backward
# Don't share history
setopt append_history no_inc_append_history no_share_history
if [[ -f $HOME/.zshrc.local ]]; then
source ~/.zshrc.local
fi fi