Last active
August 29, 2015 14:08
-
-
Save labeneator/09a36f61fcdeceba0967 to your computer and use it in GitHub Desktop.
.zshrc
This file contains hidden or 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
# | |
# Executes commands at the start of an interactive session. | |
# | |
# Authors: | |
# Sorin Ionescu <[email protected]> | |
# | |
# Source Prezto. | |
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then | |
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" | |
fi | |
# My binaries, then homebrew's the osx's | |
export PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin" | |
# Recent dirs handling | |
# Use cdr & friends. See http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#Recent-Directories | |
autoload -Uz chpwd_recent_dirs cdr add-zsh-hook | |
add-zsh-hook chpwd chpwd_recent_dirs | |
# Allow clobbering of file redirection | |
# By default zsh doesn't let you overwrite existing files with > or create | |
# new files with >> if they don't exist. This option reverts that setting. | |
setopt CLOBBER | |
# Glob dot files | |
# ls ~/*pro* should display ~/.profile | |
setopt GLOBDOTS | |
# Comments after commands are acceptable | |
# $ ls # Comments allowed after command | |
setopt interactivecomments |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment