Mercurial > dotfiles.old
comparison zshrc @ 32:2da8d8daa033
Add remaps to vim and aliases to zsh
author | zegervdv <zegervdv@me.com> |
---|---|
date | Fri, 04 Apr 2014 18:12:59 +0200 |
parents | f9f04cee7f51 |
children | 63f450f5c3fb |
comparison
equal
deleted
inserted
replaced
31:faf7781dae42 | 32:2da8d8daa033 |
---|---|
4 # Set name of the theme to load. | 4 # Set name of the theme to load. |
5 # Look in ~/.oh-my-zsh/themes/ | 5 # Look in ~/.oh-my-zsh/themes/ |
6 # Optionally, if you set this to "random", it'll load a random theme each | 6 # Optionally, if you set this to "random", it'll load a random theme each |
7 # time that oh-my-zsh is loaded. | 7 # time that oh-my-zsh is loaded. |
8 ZSH_THEME="custom" | 8 ZSH_THEME="custom" |
9 | |
10 setopt correct_all | |
9 | 11 |
10 # Example aliases | 12 # Example aliases |
11 # alias zshconfig="mate ~/.zshrc" | 13 # alias zshconfig="mate ~/.zshrc" |
12 # alias ohmyzsh="mate ~/.oh-my-zsh" | 14 # alias ohmyzsh="mate ~/.oh-my-zsh" |
13 | 15 |
30 COMPLETION_WAITING_DOTS="true" | 32 COMPLETION_WAITING_DOTS="true" |
31 | 33 |
32 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | 34 # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) |
33 # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | 35 # Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ |
34 # Example format: plugins=(rails git textmate ruby lighthouse) | 36 # Example format: plugins=(rails git textmate ruby lighthouse) |
35 plugins=(git z textmate sublime ruby history-substring-search brew gitfast osx terminalapp vagrant web-search gitignore) | 37 plugins=(git z textmate sublime ruby history-substring-search brew gitfast osx terminalapp vagrant web-search gitignore brew-cask rake-fast) |
36 | 38 |
37 source $ZSH/oh-my-zsh.sh | 39 source $ZSH/oh-my-zsh.sh |
38 | 40 |
39 # source $ZSH/plugins/history-substring-search/history-substring-search.zsh | 41 # source $ZSH/plugins/history-substring-search/history-substring-search.zsh |
40 | 42 |
64 | 66 |
65 # Commands | 67 # Commands |
66 alias grep="grep --color=auto" | 68 alias grep="grep --color=auto" |
67 alias beer="bundle exec rake" | 69 alias beer="bundle exec rake" |
68 alias ll="ls -al" | 70 alias ll="ls -al" |
71 alias l="ls -l" | |
72 alias gsl="git sl" | |
69 | 73 |
70 # Functions | 74 # Functions |
71 gcat () { | 75 gcat () { |
72 cat $1 | egrep "$2|$" | 76 cat $1 | egrep "$2|$" |
73 } | 77 } |