-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
44 lines (34 loc) · 1.03 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# .zshrc is sourced in interactive shells.
# It should contain commands to set up aliases,
# functions, options, key bindings, etc.
#
autoload -U compinit && compinit
autoload -U promptinit && promptinit
autoload -U colors && colors
#allow tab completion in the middle of a word
setopt COMPLETE_IN_WORD
## keep background processes at full speed
setopt NOBGNICE
# Allow comments to be put in the command-line
#
# $ echo 'Hello World' # This comment will be valid now
#
# http://stackoverflow.com/questions/11670935/comments-in-command-line-zsh
setopt interactivecomments
## never ever beep ever
setopt NO_BEEP
## automatically decide when to page a list of completions
LISTMAX=0
# Other modules we want to source
. ~/.zsh/zsh_aliases
. ~/.zsh/from-omz.zsh # Import omz stuff
# Key bidings
bindkey ";5C" forward-word
bindkey ";5D" backward-word
# Due to tmux being weird
# http://clock.co.uk/blog/zsh-ctrl-left-arrow-outputting-5d
bindkey "5C" forward-word
bindkey "5D" backward-word
# Initialize antigen-hs
. ~/.zsh/antigen-hs/init.zsh
true