-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path_zshrc
107 lines (80 loc) · 2.99 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Path to your oh-my-zsh configuration.
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="ost"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# 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)
plugins=(git archlinux pip)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=$PATH:/home/ost/bin:/home/ost/lib:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/core_perl:/home/ost/.cabal/bin:/home/ost/.cabal/bin:/home/ost/.xmonad/bin:/home/ost/.cabal/bin:/home/ost/.cabal/bin:/home/ost/.xmonad/bin
export PYTHONPATH=$PYTHONPATH:/home/ost/bin:/home/ost/lib
export VIMRUNTIME=/usr/share/vim/vim73/
# Check for an interactive session
[ -z "$PS1" ] && return
function extract() # Handy Extract Program.
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xvjf $1 ;;
*.tar.gz) tar xvzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xvf $1 ;;
*.tbz2) tar xvjf $1 ;;
*.tgz) tar xvzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1 ;;
*.7z) 7z x $1 ;;
*) echo "'$1' cannot be extracted via >extract<" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
# alias ls='ls -lap --color=auto'
alias v='vim'
alias claer='clear'
#alias du='du -kh'
alias df='df -kTh'
alias od='od -x'
alias tree='tree -Csu'
alias t='tree -L 1'
alias t1='tree -L 1'
alias t2='tree -L 2'
alias t3='tree -L 3'
alias t4='tree -L 4'
alias tl='tree -L'
#alias sl='ls -AhgG --color=auto'
#alias ls='ls -h --color=auto'
alias dev='cd ~/dev'
alias tmp='cd ~/tmp'
alias ds='cd ~/dev/MAIN/domain-sandwich/'
alias ..='cd ..'
alias webshare='python2 -m SimpleHTTPServer'
alias gti='git'
export EDITOR=vim
export BROWSER=/usr/bin/chromium
export PATH=$PATH:/home/ost/dev/LIB/gae/
export PATH=$PATH:/home/ost/.cabal/bin
export PATH=$PATH:/home/ost/.xmonad/bin
export PYTHONPATH=$PYTHONPATH:/home/ost/dev/LIB/gae/
export PYTHONPATH=$PYTHONPATH:/home/ost/dev/LIB/gae/lib/