blob: 95f0f72b2506a7336ee8e4e8d12dfa7d465b7bd5 (
plain) (
blame)
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
|
# This is for the interactive shell
# enable colors
autoload -U colors
colors
# enable auto completion
autoload -U compinit
compinit -C
zstyle ':completion:*' completer _expand _complete _match _prefix
# I want word boundary to be similar to bash
autoload -U select-word-style
select-word-style bash
# keep the prompt simple and short
PROMPT="%1~ %# "
# emacs style
bindkey -e
# load custom aliases
source ~/.aliases
# aliases for some directories
hash -d s="$HOME/src/source"
hash -d eb="$HOME/src/source/eventbus"
hash -d ops="$HOME/src/twitter-ops/"
hash -d science="$HOME/src/source/science/"
hash -d gcode="$HOME/gocode/src/"
# this is for local stuff
[ -f ~/.zlogin_local ] && source ~/.zlogin_local
|