forked from rotated8/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
69 lines (54 loc) · 2.37 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git brew pip tmux) #python ruby pylint
export PATH=$HOME/bin:/usr/local/bin:$PATH
source $ZSH/oh-my-zsh.sh
# User configuration
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Brew is already in $PATH, via line 32 above, which is for oh-my-zsh
# Add rbenv to shell, if it exists.
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
# Prefer Vim
export EDITOR=vim
export VISUAL=gvim
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
# Grep should use perl regexes, be recursive, ignore case, and print line numbers, in that order.
alias g='grep -Prin'
# ls should list everything except '.' and '..' in long form, and have color.
alias ls='ls -AGlh'
# tree should cat like ls
alias tree='tree -Ca'
# getmod checks the mode of a file, without having to remember stat.
alias getmod='stat -f "%p %N"'
# tmux should assume uft8 and 256 colors
alias tmux='tmux -u2'
# Prefer nvim, if installed.
if which nvim > /dev/null; then
alias vim='nvim'
export EDITOR=nvim
fi