-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
37 lines (26 loc) · 869 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
31
32
33
34
35
36
37
export ZSH=/root/.oh-my-zsh
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="chrisgarvis"
# Would you like to use another custom folder than $ZSH/custom?
ZSH_CUSTOM=~/.my-zsh
# TMUX configs
ZSH_TMUX_AUTOSTART=true
ZSH_TMUX_AUTOQUIT=false
plugins=(aws debian docker gem git heroku node npm osx pip rails ruby sudo tmux web-search yarn)
source $ZSH/oh-my-zsh.sh
# Following line enables command auto-correction.
ENABLE_CORRECTION="true"
# Following line displays red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# Nicer history
export HISTSIZE=100000
export HISTFILE="$HOME/.history"
export SAVEHIST=$HISTSIZE
# USe vim as the editor
export EDITOR='vim'
# Use C-x C-e to edit the current command line
autoload -U edit-command-line
zle -N edit-command-line
bindkey '\C-x\C-e' edit-command-line
# Aliases
alias c="cd"