forked from r00k/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
30 lines (23 loc) · 752 Bytes
/
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
# Allow completing of the remainder of a command
bindkey "^N" insert-last-word
# Show contents of directory after cd-ing into it
chpwd() {
ls -lrthG
}
# Save a ton of history
HISTSIZE=20000
HISTFILE=~/.zsh_history
SAVEHIST=20000
# Enable completion
autoload -U compinit
compinit
# Disable flow control commands (keeps C-s from freezing everything)
stty start undef
stty stop undef
# RVM
[[ -s "/Users/ben/.rvm/scripts/rvm" ]] && source "/Users/ben/.rvm/scripts/rvm"
# Sourcing of other files
source $HOME/.dotfiles/zsh/aliases
source $HOME/.dotfiles/zsh/functions
source $HOME/.dotfiles/zsh/prompt
export PATH=$PATH:bin:~/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.rvm/bin