Created
November 8, 2014 21:16
-
-
Save aurbano/e32596aae16a7b9f8b48 to your computer and use it in GitHub Desktop.
My .zshrc file
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
# start_time="$(date +%s)" | |
# Antigen — A zsh plugin manager | |
export ANTIGEN_DEFAULT_REPO_URL=https://github.com/sharat87/oh-my-zsh.git | |
source ~/antigen.zsh | |
# Load the oh-my-zsh's library. | |
antigen use oh-my-zsh | |
# Bundles from the default repo declared above. | |
antigen bundles <<EOBUNDLES | |
lein | |
pip | |
gradle | |
brew | |
gem | |
npm | |
sublime | |
python | |
# Guess what to install when running an unknown command. | |
command-not-found | |
# The heroku tool helper plugin. | |
heroku | |
# Helper for extracting different types of archives. | |
extract | |
# Help working with version control systems. | |
svn | |
git | |
# nicoulaj's moar completion files for zsh | |
zsh-users/zsh-completions src | |
# Syntax highlighting bundle. | |
zsh-users/zsh-syntax-highlighting | |
# ZSH port of Fish shell's history search feature. | |
zsh-users/zsh-history-substring-search | |
# Autocomplete | |
tarruda/zsh-autosuggestions | |
EOBUNDLES | |
# Tracks your most used directories, based on 'frecency'. And its accompanying | |
# setup code. | |
antigen bundle rupa/z | |
add-zsh-hook precmd _z_precmd | |
function _z_precmd { | |
_z --add "$PWD" | |
} | |
# Setup suggestions | |
zle-line-init() { | |
zle autosuggest-start | |
} | |
zle -N zle-line-init | |
# bind UP and DOWN arrow keys | |
zmodload zsh/terminfo | |
bindkey "$terminfo[kcuu1]" history-substring-search-up | |
bindkey "$terminfo[kcud1]" history-substring-search-down | |
# Load the prompt theme. | |
# antigen theme prose | |
antigen theme sjl/oh-my-zsh themes/prose | |
# Tell Antigen that we're done. | |
antigen apply | |
# Automatically list directory contents on `cd`. | |
auto-ls () { ls; } | |
chpwd_functions=( auto-ls $chpwd_functions ) | |
### Added by the Heroku Toolbelt | |
export PATH="/usr/local/heroku/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exactly, I removed my aliases and functions from the profile file, but for completeness I'm using the following: