diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2015-08-21 03:14:10 -0700 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2015-08-21 03:25:54 -0700 |
| commit | 1212a9d32dbc809bcce679b9d36f3a233af3193e (patch) | |
| tree | 0c5927010e7b51eaccc412f44f076c67971fbe61 /zsh | |
| parent | 56ce88c7944443d7e097847a6bf0dadb66859c24 (diff) | |
| download | dotfiles-1212a9d32dbc809bcce679b9d36f3a233af3193e.tar.gz | |
Switch to stow
Diffstat (limited to 'zsh')
| m--------- | zsh/.oh-my-zsh | 0 | ||||
| -rw-r--r-- | zsh/.zshrc | 55 |
2 files changed, 55 insertions, 0 deletions
diff --git a/zsh/.oh-my-zsh b/zsh/.oh-my-zsh new file mode 160000 +Subproject 192de6bcffb0294e19f4203f6f7dc1a7f3e427b diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..a75baf7 --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,55 @@ +# Path to your oh-my-zsh configuration. +ZSH=$HOME/.oh-my-zsh + +# 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="alanpeabody" + +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" + +# Set to this to use case-sensitive completion +CASE_SENSITIVE="true" + +# Comment this out to disable weekly auto-update checks +# DISABLE_AUTO_UPDATE="true" +# Uncomment following line if you want to disable colors in ls +# DISABLE_LS_COLORS="true" + +# Uncomment following line if you want to disable autosetting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment following line if you want red dots to be displayed while waiting for completion +# COMPLETION_WAITING_DOTS="true" + +# 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=(git archlinux python vi-mode) + +source $ZSH/oh-my-zsh.sh + +# Customize to your needs... +unsetopt correct_all +man() { + env \ + LESS_TERMCAP_mb=$(printf "\e[1;31m") \ + LESS_TERMCAP_md=$(printf "\e[1;31m") \ + LESS_TERMCAP_me=$(printf "\e[0m") \ + LESS_TERMCAP_se=$(printf "\e[0m") \ + LESS_TERMCAP_so=$(printf "\e[1;44;33m") \ + LESS_TERMCAP_ue=$(printf "\e[0m") \ + LESS_TERMCAP_us=$(printf "\e[1;32m") \ + man "$@" +} + +if [ -f "${HOME}/.gpg-agent-info" ]; then + . "${HOME}/.gpg-agent-info" + export GPG_AGENT_INFO + export SSH_AUTH_SOCK +fi + +bindkey '^R' history-incremental-search-backward |
