forked from Carmain/shell-configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
47 lines (34 loc) · 1.1 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
source $HOME/antigen.zsh
antigen use oh-my-zsh # Load the oh-my-zsh's library
# Bundles from the default repo (robbyrussell's oh-my-zsh).
antigen bundle django
antigen bundle web-search
antigen bundle pip
antigen bundle npm
antigen bundle colored-man-pages
antigen bundle zsh-users/zsh-syntax-highlighting # Syntax highlighting bundle
antigen bundle zsh-users/zsh-autosuggestions # Fish-like auto suggestions
antigen bundle zsh-users/zsh-completions # Extra zsh completions
antigen theme robbyrussell # Load the theme
antigen apply # Tell antigen that you're done
alias ..="cd ../"
alias ...="cd ../../"
alias ....="cd ../../../"
color_param="-G" # OSX and FreeBSD param for --color=auto
if [[ "$(uname)" == "Linux" ]]; then
color_param="--color=auto"
fi
alias ls="ls $color_param"
alias ll="ls -l $color_param"
alias lahl="ls -ahl $color_param"
alias l.="ls -d .* $color_param"
alias grep="grep $color_param"
alias egrep="egrep $color_param"
alias fgrep="fgrep $color_param"
alias h="history"
alias py="python"
alias pi="pip"
alias py3="python3"
alias pi3="pip3"
alias g="git"
alias gf="git flow"